Commit 1e3e111a authored by Jure's avatar Jure

chore: simplify coverage collection

parent 2b5e4b9c
Pipeline #8588 passed with stages
in 16 minutes and 21 seconds
......@@ -87,7 +87,7 @@ test:
script:
- cd ${HOME}
# specify host here else it confuses the linked postgres image
- PGHOST=postgres npm run test
- PGHOST=postgres yarn test
# if tests pass we will push latest, labelled with current commit hash
push:latest:
......
......@@ -43,16 +43,7 @@
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"packages/cli/src/*.js",
"packages/cli/cli/*.js",
"client/src/**/*.{js,jsx}",
"components/**/*.{js,jsx}",
"db-manager/src/**/*.js",
"logger/src/**/*.js",
"server/src/**/*.js",
"sse/lib/**/*.js",
"ui/src/**/*.{js,jsx}",
"**/*.{js,jsx}",
"!**/*.test.{js,jsx}",
"!**/node_modules/**"
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment