Skip to content

Commit 9957461

Browse files
dynamically test with all supported Python versions using new fill: parameter
1 parent 167ed25 commit 9957461

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,12 @@ jobs:
7070
- linux: py311-oldestdeps-xdist-cov
7171
coverage: codecov
7272
pytest-results-summary: true
73-
- linux: py311-xdist
74-
posargs: -vv
75-
pytest-results-summary: true
76-
- linux: py312-xdist
77-
pytest-results-summary: true
7873
# `tox` does not currently respect `requires-python` versions when creating testing environments;
7974
# if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version
80-
- linux: py313-cov-xdist
75+
- linux: py3-cov-xdist
8176
coverage: codecov
8277
pytest-results-summary: true
83-
- macos: py314-xdist
84-
pytest-results-summary: true
78+
- macos: py3-xdist
79+
fill: true
80+
fill_platforms: linux
81+
fill_factors: xdist

.github/workflows/tests_extra.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,12 @@ jobs:
6161
envs: |
6262
- linux: check-docs-links
6363
python-version: '3.13'
64-
- macos: py311-xdist
65-
pytest-results-summary: true
66-
- macos: py312-xdist
67-
pytest-results-summary: true
68-
- linux: py314-stdevdeps-xdist
69-
pytest-results-summary: true
70-
- macos: py313-stdevdeps-xdist
71-
pytest-results-summary: true
72-
- linux: py314-devdeps-xdist
73-
pytest-results-summary: true
74-
- macos: py313-devdeps-xdist
75-
pytest-results-summary: true
64+
# `tox` does not currently respect `requires-python` versions when creating testing environments;
65+
# if this breaks, add an upper pin to `requires-python` and revert this py3 to the latest working version
66+
- linux: py3-stdevdeps-xdist
67+
- linux: py3-devdeps-xdist
68+
- macos: py3-stdevdeps-xdist
69+
- macos: py3-devdeps-xdist
70+
fill: true
71+
fill_platforms: macos
72+
fill_factors: xdist

0 commit comments

Comments
 (0)