aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.build.yml12
-rw-r--r--README.md3
2 files changed, 4 insertions, 11 deletions
diff --git a/.build.yml b/.build.yml
index f407325..e98ba25 100644
--- a/.build.yml
+++ b/.build.yml
@@ -2,8 +2,6 @@ image: alpine/3.22
packages:
- curl
- go
-secrets:
- - dc983e78-134b-4b7e-ac00-cb89a374a699
sources:
- git://git.sr.ht/~eugenetriguba/checkmate
tasks:
@@ -13,9 +11,7 @@ tasks:
- test: |
cd checkmate
go test -race -coverprofile=coverage.out -covermode=atomic ./...
- - coverage: |
- export CODECOV_TOKEN=$(cat CODECOV_TOKEN)
- cd checkmate
- curl -Os https://uploader.codecov.io/latest/alpine/codecov
- chmod +x codecov
- ./codecov -f coverage.out -t "$CODECOV_TOKEN"
+ - coverage-report: |
+ echo "=== Coverage Report ==="
+ go tool cover -func=coverage.out
+ echo "======================="
diff --git a/README.md b/README.md
index 790cafc..4a832fc 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,6 @@
<a href="https://goreportcard.com/report/git.sr.ht/~eugenetriguba/checkmate">
<img src="https://goreportcard.com/badge/git.sr.ht/~eugenetriguba/checkmate" alt="Go Report Card Badge">
</a>
- <a href="https://codecov.io/git.sr.ht/~eugenetriguba/checkmate">
- <img src="https://codecov.io/git.sr.ht/~eugenetriguba/checkmate/branch/main/graph/badge.svg?token=Z3ZD0JWGBr"/>
- </a>
<img alt="Version Badge" src="https://img.shields.io/badge/version-0.3.2-blue" style="max-width:100%;">
</p>