Skip to content

Commit 028a3d4

Browse files
jstriebelnormanrz
andauthored
split nightly tests, too (#849)
* split nightly tests, too * Update .github/workflows/nightly.yml * Update .github/workflows/nightly.yml Co-authored-by: Norman Rzepka <[email protected]> * Update ci.yml * Update .github/workflows/nightly.yml Co-authored-by: Norman Rzepka <[email protected]>
1 parent 52dfb70 commit 028a3d4

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
- name: Python tests
172172
env:
173173
WK_TOKEN: ${{ secrets.WK_TOKEN }}
174-
run: ./test.sh --splits 5 --group ${{ matrix.group }}
174+
run: ./test.sh --splits 3 --group ${{ matrix.group }}
175175

176176
- name: Check if git is dirty
177177
run: |

.github/workflows/nightly.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: [3.7, 3.8]
14+
python-version: [3.7, 3.8, 3.9]
15+
group: [1, 2, 3]
1516
defaults:
1617
run:
1718
working-directory: webknossos
@@ -40,15 +41,9 @@ jobs:
4041
- name: Python tests, refreshing the network snapshots
4142
env:
4243
WK_TOKEN: ${{ secrets.WK_TOKEN }}
43-
run: ./test.sh --refresh-snapshots
44+
run: ./test.sh --refresh-snapshots --splits 3 --group ${{ matrix.group }}
4445

4546
- name: Python tests, using the new snapshots
4647
env:
4748
WK_TOKEN: ${{ secrets.WK_TOKEN }}
48-
run: ./test.sh --refresh-snapshots
49-
50-
- name: Check if git is dirty
51-
continue-on-error: true # This is currently expected to fail, might change in the future
52-
run: |
53-
git diff --no-ext-diff --quiet --exit-code
54-
[[ -z $(git status -s) ]]
49+
run: ./test.sh --refresh-snapshots --splits 3 --group ${{ matrix.group }}

0 commit comments

Comments
 (0)