Push code coverage percentages to codecov.io.

This commit is contained in:
Michael Kaye 2023-06-14 17:36:26 +01:00
parent 5510719fb2
commit 97a6313e03
2 changed files with 9 additions and 1 deletions

View file

@ -16,3 +16,6 @@ jobs:
run: "yarn install" run: "yarn install"
- name: Jest - name: Jest
run: "yarn run test" run: "yarn run test"
- name: Upload to codecov
uses: codecov/codecov-action@v3
flags: unittests

View file

@ -118,6 +118,11 @@
"\\.(css|less|svg)+$": "identity-obj-proxy", "\\.(css|less|svg)+$": "identity-obj-proxy",
"^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts", "^\\./IndexedDBWorker\\?worker$": "<rootDir>/test/mocks/workerMock.ts",
"^\\./olm$": "<rootDir>/test/mocks/olmMock.ts" "^\\./olm$": "<rootDir>/test/mocks/olmMock.ts"
} },
"collectCoverage": true,
"coverageReporters": [
"text",
"cobertura"
]
} }
} }