Skip to content

Commit b527b42

Browse files
committed
Splitting the notebook testing in two.
The current split is arbitrary, based on notebook order. Likely this is not the most efficient as it is not balanced in terms of run time.
1 parent a9854c8 commit b527b42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
matrix:
4848
os: [macos-latest, windows-latest]
4949
python-version: ['3.8', '3.10']
50+
inputs: ["00_ or 01_ or 02_ or 03_ or 04_ or 05_ or 10_ or 20_ or 21_ or 22_ or 300_ or 30_ or 31_ or 32_ or 33_ or 34_ or 35_ or 36_", "51_ or 55_ or 56_ or 60_ or 61_ or 62_ or 63_ or 64_ or 65_ or 66_ or 67_ or 68_ or 69_ or 70_ or 71_"
51+
]
5052
runs-on: ${{ matrix.os }}
5153
steps:
5254
- uses: actions/checkout@v3
@@ -87,4 +89,4 @@ jobs:
8789
- name: run the test
8890
env:
8991
SIMPLE_ITK_MEMORY_CONSTRAINED_ENVIRONMENT: 1
90-
run: pytest -v --tb=short tests/test_notebooks.py::Test_notebooks::test_python_notebook
92+
run: pytest -v --tb=short -k "${{matrix.inputs}}" tests/test_notebooks.py::Test_notebooks::test_python_notebook

0 commit comments

Comments
 (0)