Skip to content

Commit

Permalink
WIP coveralls for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathew1011 committed Feb 3, 2021
1 parent 6a9011d commit 79e458c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jobs:
run: npm install

- name: "Node Tests"
run: xvfb-run --auto-servernum npm run test-ci
run: |
xvfb-run --auto-servernum npm run test-ci
grunt coverage
- name: "Coverage Report"
uses: MikeEdgar/github-action@raw_coverage_file
- name: "Coveralls Coverage Report"
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-file: './coverage/coveralls.json'
coverage-format: raw
path-to-lcov: coverage/lcov.info
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ module.exports = function (grunt) {
coveralls: {
options: {
debug: true,
coverageDir: 'coverage/'
coverageDir: 'coverage/',
dryRun: true
}
}

Expand Down

0 comments on commit 79e458c

Please sign in to comment.