Skip to content
Snippets Groups Projects
Commit c99307d4 authored by Grant's avatar Grant
Browse files

ci cobertura coverage report

parent 34bca73d
No related branches found
No related tags found
1 merge request!86Draft: Jest Testing
Pipeline #290 canceled
......@@ -53,6 +53,11 @@ jest server:
- npm i --include=dev
- npx -w packages/server prisma migrate reset --force
- npm -w packages/server run test:ci
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: packages/server/coverage/cobertura-coverage.xml
build wiki:
stage: build
......
......@@ -8,5 +8,6 @@ module.exports = {
rootDir: "./src",
coverageDirectory: "../coverage",
coveragePathIgnorePatterns: ["./__mocks__/*", "./__test__/*"],
coverageReporters: ["json", "text", "lcov", "cobertura"],
globalSetup: "./__test__/_prisma.ts",
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment