mirror of
https://github.com/idrawjs/idraw
synced 2026-05-23 09:38:22 +00:00
Update coverage.yml
This commit is contained in:
parent
f177a8e615
commit
cabf0091c9
1 changed files with 9 additions and 5 deletions
14
.github/workflows/coverage.yml
vendored
14
.github/workflows/coverage.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||
|
||||
name: Node.js CI
|
||||
name: Coverage
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -29,9 +29,13 @@ jobs:
|
|||
- run: npm run beforetest
|
||||
- run: npm run cover
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@v1.0.2
|
||||
with:
|
||||
token: ${{secrets.CODECOV_TOKEN}}
|
||||
file: /home/runner/work/idraw/idraw/reports/clover.xml
|
||||
uses: codecov/codecov-action@v2
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||
files: ../../reports/clover.xml # optional
|
||||
flags: unittests # optional
|
||||
name: codecov-umbrella # optional
|
||||
fail_ci_if_error: true # optional (default = false)
|
||||
verbose: true # optional (default = false)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue