Skip to content

Commit

Permalink
chore: upload report
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Nov 1, 2023
1 parent bd849dd commit ffd76f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ jobs:
- uses: codecov/codecov-action@v3
name: upload
with:
directory: ./coverage/ngx-filesaver
files: ./*.html
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
files: ./coverage/cobertura-coverage.xml
fail_ci_if_error: true
verbose: true

lint:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"karmaConfig": "./karma.conf.js",
"polyfills": [
"zone.js",
"zone.js/testing"
Expand Down
3 changes: 2 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ module.exports = function (config) {
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
{ type: 'text-summary' },
{ type: 'cobertura' },
]
},
reporters: ['progress', 'kjhtml'],
Expand Down

0 comments on commit ffd76f6

Please sign in to comment.