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:eslint"
- "npm run lint:typescript" - "npm run lint:typescript"
- "npm run test" - "npm run test"
artifacts: # artifacts:
paths: # paths:
- "coverage/" # - "coverage/"
reports: # reports:
coverage_report: # coverage_report:
coverage_format: "cobertura" # coverage_format: "cobertura"
path: "coverage/cobertura-coverage.xml" # path: "coverage/cobertura-coverage.xml"
junit: "junit.xml" # junit: "junit.xml"
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/' # coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'

View File

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

View File

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