| 1 |
--- |
| 2 |
name: CI |
| 3 |
|
| 4 |
on: |
| 5 |
push: |
| 6 |
branches: ["master"] |
| 7 |
tags: |
| 8 |
- "*" |
| 9 |
pull_request: |
| 10 |
branches: ["master"] |
| 11 |
|
| 12 |
jobs: |
| 13 |
tests: |
| 14 |
name: "${{ matrix.os }}: Python ${{ matrix.python-version }}" |
| 15 |
strategy: |
| 16 |
matrix: |
| 17 |
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"] |
| 18 |
os: ["ubuntu-22.04"] |
| 19 |
|
| 20 |
runs-on: "${{ matrix.os }}" |
| 21 |
|
| 22 |
steps: |
| 23 |
- uses: "actions/checkout@v4" |
| 24 |
- uses: "actions/setup-python@v5" |
| 25 |
with: |
| 26 |
python-version: "${{ matrix.python-version }}" |
| 27 |
- run: | |
| 28 |
pip install 'tox<4' tox-gh-actions |
| 29 |
tox |