Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJONSSON committed Apr 14, 2024
1 parent 40dabb1 commit 8f659bc
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 8f659bc

Please sign in to comment.