Skip to content

Commit a12dc44

Browse files
committed
tools: add a check for clean git tree after tests
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #62661 Refs: #62646 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
1 parent f697c55 commit a12dc44

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/test-linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,14 @@ jobs:
7070
- name: Environment Information
7171
run: npx envinfo
7272
- name: Build
73-
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
73+
working-directory: node
74+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
7475
- name: Test
75-
run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
76+
working-directory: node
77+
run: make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
78+
- name: Ensure running tests did not cause any change in the tree
79+
working-directory: node
80+
run: git add -A && git diff --name-only --exit-code --staged
7681
- name: Re-run test in a folder whose name contains unusual chars
7782
run: |
7883
mv node "$DIR"

0 commit comments

Comments
 (0)