Skip to content

Commit 3c8e585

Browse files
committed
ci: fix coverage badge command
1 parent 81cea91 commit 3c8e585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/rubyonrails.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
run: |
9595
COVERAGE=$(jq -r '.result.covered_percent' coverage/.last_run.json)
9696
COLOR=$(node -e "cov=parseFloat(process.argv[1]);console.log(cov>=90?'green':cov>=75?'orange':'red')" $COVERAGE)
97-
npx badgen-cli coverage ${COVERAGE}% -c $COLOR > coverage.svg
97+
npx badgen-cli --subject coverage --status ${COVERAGE}% --color $COLOR > coverage.svg
9898
9999
- name: Commit badge
100100
if: ${{ github.ref == 'refs/heads/main' && success() }}

0 commit comments

Comments
 (0)