We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d93f0c7 commit f0f0112Copy full SHA for f0f0112
.github/workflows/go.yml
@@ -38,3 +38,8 @@ jobs:
38
39
- name: Run tests
40
run: make test
41
+
42
+ - name: Upload coverage reports to Codecov
43
+ uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
44
+ with:
45
+ token: ${{ secrets.CODECOV_TOKEN }}
.gitignore
@@ -86,3 +86,5 @@ implementation.md
86
87
# Added by goreleaser init:
88
dist/
89
90
+coverage.txt
Makefile
@@ -38,7 +38,7 @@ build:
# Test
test:
- $(GO) test -v ./...
+ $(GO) test -coverprofile=coverage.txt -v ./...
# fmt
fmt:
0 commit comments