| 1 | name: Run Tests |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | test: |
| 7 | runs-on: ${{ matrix.os }} |
| 8 | |
| 9 | strategy: |
| 10 | fail-fast: false |
| 11 | max-parallel: 8 |
| 12 | matrix: |
| 13 | os: |
| 14 | - ubuntu-latest |
| 15 | python-version: |
| 16 | ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", pypy3.9, pypy3.10] |
| 17 | |
| 18 | steps: |
| 19 | - uses: actions/checkout@v5 |
| 20 | |
| 21 | - name: Set up Python ${{ matrix.python-version }} |
| 22 | uses: actions/setup-python@v6 |
| 23 | with: |
| 24 | python-version: ${{ matrix.python-version }} |
| 25 | allow-prereleases: true |
| 26 | |
| 27 | - name: Upgrade pip |
| 28 | run: python -m pip install --upgrade pip |
| 29 | |
| 30 | - name: Install dependencies |
| 31 | run: pip install tox tox-gh-actions |
| 32 | |
| 33 | - name: Test with tox |
| 34 | run: tox |