Skip to content

Commit ff33c13

Browse files
committed
ci: swap to use tox gh actions instead of the archived coactions dynamic-matrix which wasnt working anymore
1 parent 1360218 commit ff33c13

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/tox.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
name: Tox
22

33
on:
4+
- push
45
- pull_request
56

67
jobs:
78
build:
89
runs-on: ubuntu-latest
910
strategy:
1011
matrix:
11-
python-version:
12-
- '3.10'
13-
# - '3.11'
14-
# - '3.12'
15-
# - '3.14'
12+
include:
13+
- python-version: '3.10'
14+
tox-env: 'py310'
15+
# - python-version: '3.11'
16+
# tox-env: 'py311'
17+
# - python-version: '3.12'
18+
# tox-env: 'py312'
1619

1720
steps:
1821
- uses: actions/checkout@v5
@@ -30,4 +33,4 @@ jobs:
3033
python -m pip install tox tox-gh-actions
3134
- name: Test with tox
3235
# run only the env that matches the runner Python (e.g. 3.10 -> py310)
33-
run: tox -e ${{ 'py' + matrix.python-version.replace('.','') }}
36+
run: tox -e ${{ matrix.tox-env }}

0 commit comments

Comments
 (0)