mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Record test coverage per browser (#8033)
This commit is contained in:
parent
183637b87f
commit
63ab5a03d7
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -49,11 +49,19 @@ jobs:
|
||||
npm run docs
|
||||
npm run typedoc
|
||||
npm pack
|
||||
- name: Coveralls Parallel
|
||||
- name: Coveralls Parallel - Chrome
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
flag-name: run-${{ matrix.os }}
|
||||
path-to-lcov: './coverage/chrome/lcov.info'
|
||||
flag-name: ${{ matrix.os }}-chrome
|
||||
parallel: true
|
||||
- name: Coveralls Parallel - Firefox
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
path-to-lcov: './coverage/firefox/lcov.info'
|
||||
flag-name: ${{ matrix.os }}-firefox
|
||||
parallel: true
|
||||
|
||||
|
||||
|
@ -112,7 +112,7 @@ module.exports = function(karma) {
|
||||
dir: 'coverage/',
|
||||
reporters: [
|
||||
{type: 'html', subdir: 'html'},
|
||||
{type: 'lcovonly', subdir: '.'}
|
||||
{type: 'lcovonly', subdir: (browser) => browser.toLowerCase().split(/[ /-]/)[0]}
|
||||
]
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user