Skip to content

[pre-commit.ci] pre-commit autoupdate (#91) #116

[pre-commit.ci] pre-commit autoupdate (#91)

[pre-commit.ci] pre-commit autoupdate (#91) #116

Workflow file for this run

---
name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
- name: Run tests and coverage
run: make coverage
- name: Code coverage
uses: codecov/codecov-action@v4
with:
file: coverage.xml
flags: ${{ matrix.os }}-${{ matrix.python-version }}
name: codecov
fail_ci_if_error: false