Skip to content

Commit

Permalink
Revert "change coverage format to gocov"
Browse files Browse the repository at this point in the history
This reverts commit cad7f43.
  • Loading branch information
jj-style committed Dec 17, 2023
1 parent 8b1e8ed commit 939e3ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Code Coverage Summary Report
uses: irongut/[email protected]
with:
filename: backend/coverage.out
filename: backend/coverage.xml
badge: true
fail_below_min: true
format: markdown
Expand Down
3 changes: 2 additions & 1 deletion backend/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ test:
# run test suite and produce coverage report
test-cover:
go install github.com/axw/gocov/gocov@latest
go test -coverprofile=coverage.out ./...
go install github.com/AlekSi/gocov-xml@latest
gocov test ./... | gocov-xml > coverage.xml

# format code
fmt:
Expand Down

0 comments on commit 939e3ce

Please sign in to comment.