Skip to content

Commit bb9f9e6

Browse files
committed
chore: tweak num of precesses running tests
1 parent 2694774 commit bb9f9e6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/pr-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ jobs:
255255
- name: Install
256256
run: npm ci
257257
# NOTE: keep this in sync with the node versions from `unit-test` job
258-
# TODO: doownload browser coverage
259258
- name: Download Test Artifacts (18)
260259
uses: actions/download-artifact@v4
261260
with:
@@ -285,7 +284,6 @@ jobs:
285284
run: npm run coverage:merge:ci:affected
286285
- name: Check coverage
287286
run: find . | grep coverage-final
288-
289287
- name: Report Coverage
290288
uses: codecov/codecov-action@v5
291289
env:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
"test:ci:affected": "nx affected -t test --base=origin/main --head=HEAD",
2121
"test:browser": "nx run-many -t test:browser",
2222
"test:browser:ci:affected": "nx affected -t test:browser --base=origin/main --head=HEAD",
23-
"test-all-versions": "nx run-many -t test-all-versions",
24-
"test-all-versions:ci:affected": "nx affected --parallel=1 -t test-all-versions --base=origin/main --head=HEAD",
23+
"test-all-versions": "nx run-many --parallel=2 -t test-all-versions",
24+
"test-all-versions:ci:affected": "nx affected --parallel=2 -t test-all-versions --base=origin/main --head=HEAD",
2525
"coverage:merge:ci:affected": "nx affected -t coverage:merge --base=origin/main --head=HEAD",
2626
"test-services:start": "docker compose -f ./test/docker-compose.yaml up -d --wait",
2727
"test-services:stop": "docker compose -f ./test/docker-compose.yaml down",
2828
"test:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=./test/test-services.env npm test",
29+
"test-all-versions:with-services-env": "cross-env NODE_OPTIONS='-r dotenv/config' DOTENV_CONFIG_PATH=./test/test-services.env npm run test-all-versions",
2930
"changelog": "lerna-changelog",
3031
"lint": "nx run-many -t lint && npm run lint:deps && npm run lint:readme && npm run lint:markdown && npm run lint:semconv-deps && npm run lint:examples",
3132
"lint:fix": "nx run-many -t lint:fix && npm run lint:markdown:fix",

0 commit comments

Comments
 (0)