Skip to content

Commit

Permalink
Merge pull request #36 from yanosea/35-github-pages-shows-readmemd
Browse files Browse the repository at this point in the history
🐞fix: fix showing 'README.md' on the covarage report on GitHub Pages
  • Loading branch information
yanosea authored Oct 2, 2024
2 parents f156d6d + 825e11a commit 5a03d3a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
![License:MIT](https://img.shields.io/static/v1?label=License&message=MIT&color=blue&style=flat-square)
[![Latest Release](https://img.shields.io/github/v/release/yanosea/jrp?style=flat-square)](https://github.com/yanosea/jrp/releases/latest)
<br/>
[Coverage Report](https://yanosea.github.io/jrp)
[Coverage Report](https://yanosea.github.io/jrp/coverage.html)

</div>

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
go test -v -p 1 ../... -cover -coverprofile=./cover.out
awk '!/(mock)\//' ./cover.out > temp_cover.out && mv temp_cover.out cover.out
# generate a html report for GitHub Pages
go tool cover -html=./cover.out -o ../docs/index.html
go tool cover -html=./cover.out -o ../docs/coverage.html
# remove the cover.out file
rm ./cover.out

0 comments on commit 5a03d3a

Please sign in to comment.