Skip to content

Commit

Permalink
puppeteer code coverage report link
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminus committed Jun 8, 2024
1 parent 3f111d5 commit 9af6599
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ jobs:
run: npm test ./__tests__/ProjectCard.E2E.test.js
- name: '[E2E test] contacts'
run: npm test ./__tests__/Contacts.E2E.test.js
- name: update code coverage
run: npm i -D puppeteer puppeteer-to-istanbul nyc && node ./code-coverage.js && nyc report --reporter=html

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

linting:
name: Linting
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
unit test coverage: [![codecov](https://codecov.io/gh/cse110-sp24-group31/Dev-Journal/graph/badge.svg?token=I7LZVX58TA)](https://codecov.io/gh/cse110-sp24-group31/Dev-Journal)

puppeteer code coverage (E2E and system test):
[link to converage report](./coverage/index.html)
[link to converage report](https://cse110-sp24-group31.github.io/Dev-Journal/coverage/index.html)

![code coverage image](https://codecov.io/gh/cse110-sp24-group31/Dev-Journal/graphs/sunburst.svg?token=I7LZVX58TA)

Expand Down

0 comments on commit 9af6599

Please sign in to comment.