Skip to content

Commit 087c949

Browse files
committed
explicitly run a tox environment
1 parent 29a3c0b commit 087c949

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
25+
python-version: [
26+
["3.8", "py38"],
27+
["3.9", "py39"],
28+
["3.10", "py310"],
29+
["3.11", "py311"],
30+
["3.12", "py312"],
31+
["3.13", "py313"],
32+
["3.14", "py314"],
33+
["3.14t", "py314t"],
34+
]
2635
steps:
2736
- name: Set git to use LF on Windows
2837
if: runner.os == 'Windows'
@@ -34,12 +43,12 @@ jobs:
3443
submodules: recursive
3544
- uses: actions/setup-python@v6
3645
with:
37-
python-version: ${{ matrix.python-version }}
46+
python-version: ${{ matrix.python-version[0] }}
3847
allow-prereleases: true
3948
- name: Run tests
4049
run: |
4150
python -m pip install tox
42-
tox --skip-missing-interpreters
51+
tox -e ${{ matrix.python-version[1] }}
4352
4453
package-sdist:
4554
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)