Skip to content

Commit 68ddd62

Browse files
authored
test: generate coverage data
1 parent 111ce37 commit 68ddd62

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,13 @@ jobs:
3838
- run: npm test
3939
env:
4040
CI: true
41+
42+
- run: |
43+
istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --compilers js:babel-register \
44+
&& cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js \
45+
&& rm -rf ./coverage
46+
47+
- name: Coveralls
48+
uses: coverallsapp/github-action@master
49+
with:
50+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)