Skip to content

Commit eed4f83

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 4b7ca97 commit eed4f83

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test-linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,14 @@ jobs:
7777
- name: Environment Information
7878
run: npx envinfo
7979
- name: Build
80-
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support"
80+
working-directory: node
81+
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support"
8182
- name: Test
82-
run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
83+
working-directory: node
84+
run: make test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
85+
- name: Ensure running tests did not cause any change in the tree
86+
working-directory: node
87+
run: git add -A && git diff --name-only --exit-code --staged
8388
- name: Re-run test in a folder whose name contains unusual chars
8489
run: |
8590
mv node "$DIR"

0 commit comments

Comments
 (0)