Skip to content

Commit

Permalink
publish to coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots authored and otahontas committed Jul 16, 2020
1 parent fad7933 commit 9891dc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ jobs:
- name: Run unit tests with react-app-scripts and save coverage
run: CI=true npm test -- --coverage
- name: Report coverage to coveralls
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
run: |
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

0 comments on commit 9891dc0

Please sign in to comment.