| 1 | # This workflow will install tox and use it to run tests. |
| 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions |
| 3 | |
| 4 | name: Test |
| 5 | |
| 6 | on: |
| 7 | push: |
| 8 | pull_request: |
| 9 | |
| 10 | jobs: |
| 11 | test: |
| 12 | |
| 13 | strategy: |
| 14 | matrix: |
| 15 | python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15", "3.15t"] |
| 16 | fail-fast: false |
| 17 | |
| 18 | runs-on: 'ubuntu-24.04' |
| 19 | |
| 20 | name: Test on python ${{ matrix.python }} |
| 21 | steps: |
| 22 | - uses: actions/checkout@v7 |
| 23 | - name: Setup Python |
| 24 | uses: actions/setup-python@v7 |
| 25 | with: |
| 26 | python-version: ${{ matrix.python }} |
| 27 | allow-prereleases: true |
| 28 | check-latest: true |
| 29 | - name: Install Tox |
| 30 | run: pip install tox |
| 31 | - name: Run Tox |
| 32 | # Run tox using the version of Python in `PATH` |
| 33 | run: tox -e py |