Skip to content

Commit

Permalink
feat: test badge
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Jul 29, 2024
1 parent fbac60d commit f36d5a0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jobs:
run: |
cd packages/${{ matrix.package }}
pnpm run test:coverage
cp -r coverage ../..
cd ..
cd ..
- name: Uploada coverage to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -49,5 +46,7 @@ jobs:
flags: unittests
name: codecov-umbrella

- name: Update Coverage Badge
uses: we-cli/coverage-badge-action@main
- name: Generate coverage badge
uses: tj-actions/coverage-badge-js@v2
with:
report_path: packages/${{ matrix.package }}/coverage/coverage-summary.json

0 comments on commit f36d5a0

Please sign in to comment.