Skip to content

Commit

Permalink
test: 调试codecov cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinoooo committed Feb 13, 2024
1 parent aca7f6b commit 7e93c86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@
alt="reference"
>
</a>
<a href="https://github.com/Trinoooo/eggie_kv/actions/workflows/test.yaml">
<img
src="https://github.com/Trinoooo/eggie_kv/actions/workflows/test.yaml/badge.svg"
alt="go test"
>
</a>
<a href="https://codecov.io/gh/Trinoooo/eggie_kv" >
<img src="https://codecov.io/gh/Trinoooo/eggie_kv/graph/badge.svg?token=A86TGA8XOE" alt="codecov"/>
</a>
</div>
## 模块间关系图
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TestCoverageFile=$(TestPackage)/c.out
TestCoverageHtml=$(TestPackage)/coverage.html
test-with-cover:
EGGIE_KV_ENV='test' go test $(TestPackage) -v -coverprofile=$(TestCoverageFile) -count=1 && \
go tool cover -html=$(TestCoverageFile) -o=$(TestCoverageHtml) && \
go tool cover -html=. -o=$(TestCoverageHtml) && \
rm -f $(TestCoverageFile)

BenchmarkPackage := $(benchmark_package)
Expand Down

0 comments on commit 7e93c86

Please sign in to comment.