Skip to content

Commit

Permalink
Fixed coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Bonic committed Sep 13, 2022
1 parent c3697a7 commit 6a6781a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "# Code coverage summary" > /tmp/coverage.md
echo "|File|Package|Coverage|" >> /tmp/coverage.md
echo "|----|-------|--------|" >> /tmp/coverage.md
go tool cover -func coverage.out | sed -e 's/\s\s*/|/g' -e 's/^/|/g' -e 's/$/|/g' >> /tmp/coverage.md
go tool cover -func /tmp/coverage.out | sed -e 's/\s\s*/|/g' -e 's/^/|/g' -e 's/$/|/g' >> /tmp/coverage.md
cat /tmp/coverage.md
cat /tmp/coverage.md >> $GITHUB_STEP_SUMMARY
- name: Upload test log
Expand Down

0 comments on commit 6a6781a

Please sign in to comment.