Add covertura report location

environments/review-coverage-y655tx/deployments/92
Justin 2022-05-27 09:30:51 -04:00
rodzic 9007e237a0
commit 05bb3fe7a0
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -46,7 +46,6 @@ lint-sass:
jest:
stage: test
script: yarn test:coverage
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
only:
changes:
- "**/*.js"
@ -57,6 +56,12 @@ jest:
- "jest.config.js"
- "package.json"
- "yarn.lock"
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: .coverage/cobertura-coverage.xml
nginx-test:
stage: test

Wyświetl plik

@ -27,7 +27,7 @@ module.exports = {
'!app/soapbox/jest/test-helpers.ts',
],
'coverageDirectory': '<rootDir>/.coverage/',
'coverageReporters': ['html', 'text', 'text-summary', 'cobertura'],
'coverageReporters': ['cobertura'],
'moduleDirectories': [
'<rootDir>/node_modules',
'<rootDir>/app',