| 1 |
name: main |
| 2 |
on: |
| 3 |
pull_request: |
| 4 |
push: |
| 5 |
branches: [master, main, 'test-me-*'] |
| 6 |
tags: ['*'] |
| 7 |
|
| 8 |
jobs: |
| 9 |
main: |
| 10 |
strategy: |
| 11 |
matrix: |
| 12 |
include: |
| 13 |
- os: windows-latest |
| 14 |
py: 3.9 |
| 15 |
toxenv: py |
| 16 |
- os: ubuntu-latest |
| 17 |
py: pypy3.10 |
| 18 |
toxenv: py |
| 19 |
- os: ubuntu-latest |
| 20 |
py: 3.9 |
| 21 |
toxenv: py |
| 22 |
- os: ubuntu-latest |
| 23 |
py: '3.10' |
| 24 |
toxenv: py |
| 25 |
- os: ubuntu-latest |
| 26 |
py: '3.11' |
| 27 |
toxenv: py |
| 28 |
- os: ubuntu-latest |
| 29 |
py: '3.12' |
| 30 |
toxenv: py |
| 31 |
- os: ubuntu-latest |
| 32 |
py: '3.13' |
| 33 |
toxenv: py |
| 34 |
- os: ubuntu-latest |
| 35 |
py: '3.14-dev' |
| 36 |
toxenv: py |
| 37 |
- os: ubuntu-latest |
| 38 |
py: 3.9 |
| 39 |
toxenv: flake8 |
| 40 |
runs-on: ${{ matrix.os }} |
| 41 |
steps: |
| 42 |
- uses: actions/checkout@v3 |
| 43 |
- uses: actions/setup-python@v4 |
| 44 |
with: |
| 45 |
python-version: ${{ matrix.py }} |
| 46 |
if: matrix.py != '3.14-dev' |
| 47 |
- uses: deadsnakes/[email protected] |
| 48 |
with: |
| 49 |
python-version: ${{ matrix.py }} |
| 50 |
if: matrix.py == '3.14-dev' |
| 51 |
- run: pip install tox |
| 52 |
- run: tox -e ${{ matrix.toxenv }} |