Skip to content

Commit b1c01fc

Browse files
authored
build: skip build-ci on actions with a separate test step
When run `make run-ci` with CONFIG_FLAGS only set in prior `make build-ci`, `make run-ci` will try to rebuild everything, instead of re-use the built result from prior `make build-ci`. PR-URL: #61073 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2403824 commit b1c01fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build-tarball.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ jobs:
138138
- name: Build
139139
run: make -C "$TAR_DIR" build-ci -j4 V=1
140140
- name: Test
141-
run: make -C "$TAR_DIR" run-ci -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"
141+
run: make -C "$TAR_DIR" test-ci -j1 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9"

.github/workflows/test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Build
7878
run: make -C node build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --v8-enable-temporal-support"
7979
- name: Test
80-
run: make -C node run-ci -j4 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
80+
run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
8181
- name: Re-run test in a folder whose name contains unusual chars
8282
run: |
8383
mv node "$DIR"

.github/workflows/test-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
- name: Free Space After Build
128128
run: df -h
129129
- name: Test
130-
run: make -C node run-ci -j$(getconf _NPROCESSORS_ONLN) V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
130+
run: make -C node test-ci -j1 V=1 TEST_CI_ARGS="-p actions --measure-flakiness 9"
131131
- name: Re-run test in a folder whose name contains unusual chars
132132
run: |
133133
mv node "$DIR"

0 commit comments

Comments
 (0)