Skip to content

Commit 4eb56b8

Browse files
committed
test: run the jest tests in parallel
1 parent ba2c47a commit 4eb56b8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ You will need [`pnpm`](https://pnpm.io/installation) to build and test `setup-cp
66
pnpm install
77
```
88

9+
To avoid permenant changes to your system, you can use the test docker images under `./dev/docker/__tests__`.
10+
911
Before running the tests locally, backup your environment variables because faulty code might corrupt the environment.
1012

1113
<https://stackoverflow.com/a/5147185/7910299>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"test.lint": "run-p --aggregate-output --continue-on-error lint.cspell test.lint.eslint test.lint.prettier lint.tsc",
5555
"test.lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/",
5656
"test.lint.prettier": "prettier . --check",
57-
"test": "jest --runInBand",
57+
"test": "jest",
5858
"build.docker_tests": "node ./dev/docker/__tests__/generate-docker-tests.mjs",
5959
"build.docker.arch": "pnpm build.docker_tests && docker build -f ./dev/docker/__tests__/arch.dockerfile -t setup-cpp:arch .",
6060
"build.docker.fedora": "pnpm build.docker_tests && docker build -f ./dev/docker/__tests__/fedora.dockerfile -t setup-cpp:fedora .",

0 commit comments

Comments
 (0)