Skip to content

Commit 2e7afc4

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
matrix:
2828
session: ["tests", "doctests-docs", "doctests-api"]
2929
python-version: ["3.10", "3.11", "3.12", "3.13"]
30+
3031
defaults:
3132
run:
3233
shell: bash -l {0}
@@ -74,13 +75,13 @@ jobs:
7475
OVERRIDE_TEST_DATA_REPOSITORY=${GITHUB_WORKSPACE}/iris_test_data_download/test_data PYTHONPATH=./tests:$PYTHONPATH pytest -v ./tests
7576
7677
- name: "Run doctests: Docs"
77-
if: matrix.session == 'doctests-docs'
78+
if: (matrix.session == 'doctests-docs') && (matrix.python_version == "3.13")
7879
run: |
7980
cd docs
8081
pytest --doctest-glob="*.rst" --doctest-continue-on-failure
8182
8283
- name: "Run doctests: API"
83-
if: matrix.session == 'doctests-api'
84+
if: (matrix.session == 'doctests-api') && (matrix.python_version == "3.13")
8485
run: |
8586
cd lib
8687
pytest --doctest-modules --doctest-continue-on-failure

0 commit comments

Comments
 (0)