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 816c6f9 commit b239138
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
flags: unittests
name: codecov-umbrella

# - name: Generate coverage badge
# uses: jaywcjlove/coverage-badges-cli@main
# with:
# source: packages/${{ matrix.package }}/coverage/coverage-summary.json
# output: packages/${{ matrix.package }}/coverage/badge.svg

- name: Generate coverage badge
run: |
npm i coverage-badges-cli -g
coverage-badges --source packages/${{ matrix.package }}/coverage/coverage-summary.json --output packages/${{ matrix.package }}/coverage/badge.svg
uses: jaywcjlove/coverage-badges-cli@main
with:
source: packages/${{ matrix.package }}/coverage/coverage-summary.json
output: packages/${{ matrix.package }}/coverage/badge1.svg

# - name: Generate coverage badge
# run: |
# npm i coverage-badges-cli -g
# coverage-badges --source packages/${{ matrix.package }}/coverage/coverage-summary.json --output packages/${{ matrix.package }}/coverage/badge.svg

0 comments on commit b239138

Please sign in to comment.