Skip to content

Commit

Permalink
test: put Cobertura coverage file under cobertura
Browse files Browse the repository at this point in the history
Currently non-functional (istanbuljs/nyc#1287).
  • Loading branch information
shivjm committed Oct 31, 2021
1 parent 97eda6e commit 1cce46b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
run: npm ci
- name: Run tests
run: npm test

# TODO add coverage using
# <https://github.com/marketplace/actions/code-coverage-summary>
# once nyc works again
check-build-files:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules/
/.nyc_output/
/.npmrc
/coverage/
4 changes: 4 additions & 0 deletions .nycrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# coverage is currently non-functional, see <https://github.com/istanbuljs/nyc/issues/1287>
reporter: [text, cobertura]
include:
- "src/**"

0 comments on commit 1cce46b

Please sign in to comment.