Skip to content

Commit

Permalink
ci workflow updated
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin JEROME <[email protected]>
  • Loading branch information
qjerome committed Sep 15, 2023
1 parent f47527c commit 1d929b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
- name: Coverage
run: |
cd $GITHUB_WORKSPACE/coverage-branch
curl -s "https://img.shields.io/badge/coverage-$(go test -cover | grep -oP '\s.*?%'| tr -d ' ' | sed 's/%/%25/')-informational?style=for-the-badge" > badge.svg
fmt_coverage=$(go test -cover | grep -oP '\s.*?%'| tr -d ' ' | sed 's/%/%25/')
curl -s "https://img.shields.io/badge/coverage-$fmt_coverage-informational?style=for-the-badge" > badge.svg
git config --local user.name "Coverage Bot"
git config --local user.email "<>"
git add -A
Expand Down

0 comments on commit 1d929b6

Please sign in to comment.