Skip to content

Commit eed4f83

Browse files
committed
tools: add a check for clean git tree after tests
Signed-off-by: Antoine du Hamel <[email protected]> PR-URL: #62661 Refs: #62646 Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Aviv Keller <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Filip Skokan <[email protected]>
1 parent 4b7ca97 commit eed4f83

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
@@ -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)