mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
fix(ci): Setup cobertura coverage
This commit is contained in:
parent
beb29f5b5b
commit
2e7d9ac109
3
.github/workflows/build_coverage.yaml
vendored
3
.github/workflows/build_coverage.yaml
vendored
@ -68,3 +68,6 @@ jobs:
|
|||||||
uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
format: cobertura
|
||||||
|
files:
|
||||||
|
- coverage/cobertura-coverage.xml
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -108,3 +108,4 @@ website/.yarn/*
|
|||||||
!website/.yarn/versions
|
!website/.yarn/versions
|
||||||
|
|
||||||
coverage/.tmp
|
coverage/.tmp
|
||||||
|
coverage/*
|
||||||
|
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@ export default defineConfig({
|
|||||||
reporter: [
|
reporter: [
|
||||||
['json', { path: './coverage/coverage-final.json' }],
|
['json', { path: './coverage/coverage-final.json' }],
|
||||||
['json-summary', { path: './coverage/coverage-summary.json' }],
|
['json-summary', { path: './coverage/coverage-summary.json' }],
|
||||||
['clover'],
|
['cobertura'],
|
||||||
['lcov', { projectRoot: './src' }],
|
['lcov', { projectRoot: './src' }],
|
||||||
],
|
],
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
|
Loading…
Reference in New Issue
Block a user