File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
packages/scripts/src/run-test Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147
147
run : |
148
148
# TODO: Reduce the ignored patterns to only /dist/, /test/unit/ and
149
149
# /test/integration/ by making the other tests actually pass.
150
- yarn test --passWithNoTests $(echo $CHANGED_PACKAGES | jq '.[].location' -r | tr '\n' ' ') --testPathIgnorePatterns="$(echo $CHANGED_PACKAGES | jq --raw-output 'map(.location | . + "/dist/|" + . + "/test/unit/|" + . + "/test/integration") | join("|")')|/test/e2e/|/test/transports/|packages/scripts/src/docker-build/|packages/scripts/src/schema-flatten/|packages/scripts/src/generate-image-name/|packages/scripts/src/flux-emulator/|packages/k6/src/"
150
+ yarn test --passWithNoTests $(echo $CHANGED_PACKAGES | jq '.[].location + "/" ' -r | tr '\n' ' ') --testPathIgnorePatterns="$(echo $CHANGED_PACKAGES | jq --raw-output 'map(.location | . + "/dist/|" + . + "/test/unit/|" + . + "/test/integration") | join("|")')|/test/e2e/|/test/transports/|packages/scripts/src/docker-build/|packages/scripts/src/schema-flatten/|packages/scripts/src/generate-image-name/|packages/scripts/src/flux-emulator/|packages/k6/src/"
151
151
152
152
# Run linters
153
153
linters :
Original file line number Diff line number Diff line change 18
18
"format:fix" : " prettier --write ." ,
19
19
"setup" : " tsc -b ./packages/tsconfig.json" ,
20
20
"setup-tests" : " tsc -b ./packages/tsconfig.test.json" ,
21
- "test" : " ./packages/scripts/src/run-test/run-test.sh " ,
22
- "test:unit" : " ./packages/scripts/src/run-test/run-test.sh unit" ,
23
- "test:integration" : " ./packages/scripts/src/run-test/run-test.sh integration" ,
24
- "test:ci:unit" : " ./packages/scripts/src/run-test/run-test.sh --coverage unit" ,
25
- "test:ci:integration" : " ./packages/scripts/src/run-test/run-test.sh --coverage integration" ,
21
+ "test" : " EA_PORT=0 METRICS_ENABLED=false jest " ,
22
+ "test:unit" : " jest unit" ,
23
+ "test:integration" : " EA_PORT=0 METRICS_ENABLED=false jest integration" ,
24
+ "test:ci:unit" : " METRICS_ENABLED=false jest --coverage unit" ,
25
+ "test:ci:integration" : " EA_PORT=0 METRICS_ENABLED=false jest --coverage integration" ,
26
26
"generate:docker-compose" : " METRICS_ENABLED=false ts-node-transpile-only ./packages/scripts/src/docker-build" ,
27
27
"generate:gha:matrix" : " METRICS_ENABLED=false ts-node-transpile-only ./packages/scripts/src/gha" ,
28
28
"generate:healthcheck:payloads" : " ts-node-transpile-only ./packages/scripts/src/healthchecks" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments