Skip to content

Commit ec737d5

Browse files
committed
fixup! tools: add a check for clean git tree after tests
use working-directory
1 parent 91bff55 commit ec737d5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test-linux.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +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"
8385
- name: Ensure running tests did not cause any change in the tree
84-
run: cd node && git diff --name-only --exit-code
86+
working-directory: node
87+
run: git diff --name-only --exit-code
8588
- name: Re-run test in a folder whose name contains unusual chars
8689
run: |
8790
mv node "$DIR"

0 commit comments

Comments
 (0)