Push code coverage percentages to codecov.io.
This commit is contained in:
parent
5510719fb2
commit
97a6313e03
2 changed files with 9 additions and 1 deletions
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue