Skip to content

Commit 290210c

Browse files
committed
tools: add a check for clean git tree after tests
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent f1ed8d6 commit 290210c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support"
8181
- name: Test
8282
run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
83+
- name: Ensure running tests did not cause any change in the tree
84+
run: cd node && git diff --name-only --exit-code
8385
- name: Re-run test in a folder whose name contains unusual chars
8486
run: |
8587
mv node "$DIR"

0 commit comments

Comments
 (0)