Skip to content

[pre-commit.ci] pre-commit autoupdate #27

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #27

Workflow file for this run

name: Tests
on:
pull_request:
paths-ignore:
- "*.md"
push:
branches:
- main
paths-ignore:
- "*.md"
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up PDM
uses: pdm-project/setup-pdm@main
with:
python-version: ${{ matrix.python-version }}
prerelease: true
- name: Install dependencies
run: pdm sync -d -G test
- name: Run Tests
run: pdm run cover -v
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
files: reports/coverage.xml