We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b245bd4 commit c48eb03Copy full SHA for c48eb03
.github/workflows/build.yml
@@ -20,7 +20,12 @@ jobs:
20
run: go mod tidy
21
- name: Run tests with coverage
22
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
23
+ - name: Upload coverage to Codecov
24
+ uses: codecov/codecov-action@v5
25
+ with:
26
+ files: coverage.txt
27
+ token: ${{ secrets.CODECOV_TOKEN }}
28
- name: Check coverage
29
uses: vladopajic/go-test-coverage@v2
30
with:
- config: ./.testcoverage.yml
31
+ config: ./.testcoverage.yml
0 commit comments