Skip to content

Commit

Permalink
Merge pull request #300 from ZJONSSON/github-actions
Browse files Browse the repository at this point in the history
Fix coverage
  • Loading branch information
ZJONSSON authored Apr 14, 2024
2 parents e02fce8 + 8f659bc commit 41a5199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ jobs:
- run: npm install
- run: npm run build --if-present
- run: npm test
- run: npx lcov-badge2 coverage/lcov.info -o coverage/lcov-report/badge.svg
- run: npx lcov-badge2 .tap/report/lcov.info -o .tap/report/badge.svg
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'coverage/lcov-report'
path: '.tap/report'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
],
"main": "unzip.js",
"scripts": {
"test": "npx tap --coverage-report=html --allow-incomplete-coverage"
"test": "npx tap --coverage-report=lcov --coverage-report=html --allow-incomplete-coverage"
}
}

0 comments on commit 41a5199

Please sign in to comment.