Skip to content

Merge pull request #197 from maxfischer2781/maintenance/20260402-zizmor #957

Merge pull request #197 from maxfischer2781/maintenance/20260402-zizmor

Merge pull request #197 from maxfischer2781/maintenance/20260402-zizmor #957

Workflow file for this run

name: Unit Tests
permissions: {}
on:
push:
pull_request:
schedule:
- cron: '0 10 * * 3,6'
jobs:
pytest:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
python-version: [
'3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14',
'pypy-3.8', 'pypy-3.10'
]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
pytest --durations=0 --cov=./
- name: Upload coverage to Codecov
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2