tools: avoid building twice in coverage jobs

PR-URL: https://github.com/nodejs/node/pull/61899
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Antoine du Hamel authored and GitHub committed 2026-02-22 12:04:40 +00:00
1 parent 5babc8d5c9
commit da5efc4b0b
2 files changed
+6 -6

No files matched your search

@@ -71,11 +71,11 @@ jobs:
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
- name: Configure
run: ./configure --verbose --error-on-warn --coverage --without-intl
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
- name: Build and test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage
+3 -3
View File
@@ -71,11 +71,11 @@ jobs:
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==7.2
- name: Build
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
- name: Configure
run: ./configure --verbose --error-on-warn --coverage
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
# The cause is most likely coverage's use of the inspector.
- name: Test
- name: Build and test
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --measure-flakiness 9" || exit 0
- name: Report JS
run: npx c8 report --check-coverage