Skip to content

Commit a72af9f

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

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci-tests.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ jobs:
2727
matrix:
2828
session: ["tests", "doctests-docs", "doctests-api"]
2929
python-version: ["3.10", "3.11", "3.12", "3.13"]
30+
exclude:
31+
- session: "doctests-docs"
32+
python-version: "3.10"
33+
- session: "doctests-docs"
34+
python-version: "3.11"
35+
- session: "doctests-docs"
36+
python-version: "3.12"
37+
- session: "doctests-api"
38+
python-version: "3.10"
39+
- session: "doctests-api"
40+
python-version: "3.11"
41+
- session: "doctests-api"
42+
python-version: "3.12"
43+
3044
defaults:
3145
run:
3246
shell: bash -l {0}
@@ -74,13 +88,13 @@ jobs:
7488
OVERRIDE_TEST_DATA_REPOSITORY=${GITHUB_WORKSPACE}/iris_test_data_download/test_data PYTHONPATH=./tests:$PYTHONPATH pytest -v ./tests
7589
7690
- name: "Run doctests: Docs"
77-
if: matrix.session == 'doctests-docs'
91+
if: (matrix.session == 'doctests-docs') && (matrix.python_version == "3.13")
7892
run: |
7993
cd docs
8094
pytest --doctest-glob="*.rst" --doctest-continue-on-failure
8195
8296
- name: "Run doctests: API"
83-
if: matrix.session == 'doctests-api'
97+
if: (matrix.session == 'doctests-api') && (matrix.python_version == "3.13")
8498
run: |
8599
cd lib
86100
pytest --doctest-modules --doctest-continue-on-failure

0 commit comments

Comments
 (0)