1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00

ci: disable test coverage temporarly

Currently the project is not tested automatically.
It can be improved later, and then revert this commit.
This commit is contained in:
Théo LUDWIG 2024-03-23 01:18:46 +01:00
parent 86d1b404f4
commit ce3b5e7b58
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
3 changed files with 11 additions and 11 deletions

View File

@ -17,12 +17,12 @@ test:
- "npm run lint:eslint"
- "npm run lint:typescript"
- "npm run test"
artifacts:
paths:
- "coverage/"
reports:
coverage_report:
coverage_format: "cobertura"
path: "coverage/cobertura-coverage.xml"
junit: "junit.xml"
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
# artifacts:
# paths:
# - "coverage/"
# reports:
# coverage_report:
# coverage_format: "cobertura"
# path: "coverage/cobertura-coverage.xml"
# junit: "junit.xml"
# coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'

View File

@ -5,7 +5,7 @@
"fakeTimers": {
"enableGlobally": true
},
"collectCoverage": true,
"collectCoverage": false,
"coverageDirectory": "coverage",
"coverageReporters": ["text", "text-summary", "cobertura"],
"collectCoverageFrom": [

View File

@ -14,7 +14,7 @@
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
"lint:typescript": "tsc --noEmit",
"lint:staged": "lint-staged",
"test": "jest --coverage --reporters=default --reporters=jest-junit",
"test": "jest --reporters=default --reporters=jest-junit",
"supabase": "supabase --workdir \"./infrastructure/repositories\"",
"postinstall": "husky"
},