Skip to content

Commit

Permalink
Build: Restore inclusion of browser run in coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Jun 16, 2024
1 parent fccaa4f commit be73c94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: npm run coverage

- name: Upload to coveralls.io
if: ${{ github.ref_name == 'main' }} # skip upload on non-main branches
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion build/coverage-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
window.__grunt_contrib_qunit__.apply(window, arguments);
}

QUnit.done(function () {
QUnit.on('runEnd', function () {
// send coverage data if available
if (window.__coverage__) {
sendMessage('qunit.coverage', window.location.pathname, window.__coverage__);
Expand Down

0 comments on commit be73c94

Please sign in to comment.