Skip to content

Commit 16426ad

Browse files
committed
Fiddle with tests matrix.
1 parent a88b2c9 commit 16426ad

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/ci-tests.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,21 @@ jobs:
2727
matrix:
2828
session: ["tests", "doctests-docs", "doctests-api"]
2929
python-version: ["3.10", "3.11", "3.12", "3.13"]
30+
31+
# exclude:
32+
# - session: "doctests-docs"
33+
# python-version: "3.10"
34+
# - session: "doctests-docs"
35+
# python-version: "3.11"
36+
# - session: "doctests-docs"
37+
# python-version: "3.12"
38+
# - session: "doctests-api"
39+
# python-version: "3.10"
40+
# - session: "doctests-api"
41+
# python-version: "3.11"
42+
# - session: "doctests-api"
43+
# python-version: "3.12"
44+
3045
defaults:
3146
run:
3247
shell: bash -l {0}
@@ -74,13 +89,13 @@ jobs:
7489
OVERRIDE_TEST_DATA_REPOSITORY=${GITHUB_WORKSPACE}/iris_test_data_download/test_data PYTHONPATH=./tests:$PYTHONPATH pytest -v ./tests
7590
7691
- name: "Run doctests: Docs"
77-
if: matrix.session == 'doctests-docs'
92+
if: (matrix.session == 'doctests-docs') && (matrix.python_version == "3.13")
7893
run: |
7994
cd docs
8095
pytest --doctest-glob="*.rst" --doctest-continue-on-failure
8196
8297
- name: "Run doctests: API"
83-
if: matrix.session == 'doctests-api'
98+
if: (matrix.session == 'doctests-api') && (matrix.python_version == "3.13")
8499
run: |
85100
cd lib
86101
pytest --doctest-modules --doctest-continue-on-failure

0 commit comments

Comments
 (0)