mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
build: increase parallel executions in github
PR-URL: https://github.com/nodejs/node/pull/51554 Refs: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
This commit is contained in:
4
.github/workflows/build-tarball.yml
vendored
4
.github/workflows/build-tarball.yml
vendored
@@ -90,8 +90,8 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
cd $TAR_DIR
|
||||
make build-ci -j2 V=1
|
||||
make build-ci -j4 V=1
|
||||
- name: Test
|
||||
run: |
|
||||
cd $TAR_DIR
|
||||
make run-ci -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
|
||||
make run-ci -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9"
|
||||
|
||||
@@ -53,11 +53,11 @@ jobs:
|
||||
- name: Install gcovr
|
||||
run: pip install gcovr==4.2
|
||||
- name: Build
|
||||
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage --without-intl"
|
||||
run: make build-ci -j4 V=1 CONFIG_FLAGS="--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
|
||||
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
|
||||
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
|
||||
- name: Report JS
|
||||
run: npx c8 report --check-coverage
|
||||
env:
|
||||
|
||||
4
.github/workflows/coverage-linux.yml
vendored
4
.github/workflows/coverage-linux.yml
vendored
@@ -53,11 +53,11 @@ jobs:
|
||||
- name: Install gcovr
|
||||
run: pip install gcovr==4.2
|
||||
- name: Build
|
||||
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
|
||||
run: make build-ci -j4 V=1 CONFIG_FLAGS="--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
|
||||
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j2 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
|
||||
run: NODE_V8_COVERAGE=coverage/tmp make test-cov -j4 V=1 TEST_CI_ARGS="-p dots --node-args='--test-reporter=spec' --measure-flakiness 9" || exit 0
|
||||
- name: Report JS
|
||||
run: npx c8 report --check-coverage
|
||||
env:
|
||||
|
||||
4
.github/workflows/test-asan.yml
vendored
4
.github/workflows/test-asan.yml
vendored
@@ -57,6 +57,6 @@ jobs:
|
||||
- name: Environment Information
|
||||
run: npx envinfo
|
||||
- name: Build
|
||||
run: make build-ci -j2 V=1
|
||||
run: make build-ci -j4 V=1
|
||||
- name: Test
|
||||
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
|
||||
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' -t 300 --measure-flakiness 9"
|
||||
|
||||
4
.github/workflows/test-internet.yml
vendored
4
.github/workflows/test-internet.yml
vendored
@@ -50,6 +50,6 @@ jobs:
|
||||
- name: Environment Information
|
||||
run: npx envinfo
|
||||
- name: Build
|
||||
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
|
||||
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
|
||||
- name: Test Internet
|
||||
run: make test-internet -j2 V=1;
|
||||
run: make test-internet -j4 V=1;
|
||||
|
||||
4
.github/workflows/test-linux.yml
vendored
4
.github/workflows/test-linux.yml
vendored
@@ -44,6 +44,6 @@ jobs:
|
||||
- name: Environment Information
|
||||
run: npx envinfo
|
||||
- name: Build
|
||||
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
|
||||
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
|
||||
- name: Test
|
||||
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
|
||||
run: make run-ci -j4 V=1 TEST_CI_ARGS="-p actions --node-args='--test-reporter=spec' --node-args='--test-reporter-destination=stdout' --measure-flakiness 9"
|
||||
|
||||
Reference in New Issue
Block a user