Skip to content

Commit

Permalink
Report coverage in CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
tolauwae committed Dec 7, 2024
1 parent 3f2ac99 commit 453e7c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
run: |
echo "LINE_COVERAGE=$(npm run coverage:test:ava | grep -E '^\s*Lines\s*:\s*[0-9]+(\.[0-9]+)?%' | awk '{print $3}' | tr -d '%')" >> $GITHUB_ENV
- name: Report coverage
run: npx c8 report

- name: Update coverage badge
uses: schneegans/[email protected]
with:
Expand Down

0 comments on commit 453e7c5

Please sign in to comment.