Skip to content

Commit c48eb03

Browse files
committed
push coverage
1 parent b245bd4 commit c48eb03

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ jobs:
2020
run: go mod tidy
2121
- name: Run tests with coverage
2222
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 }}
2328
- name: Check coverage
2429
uses: vladopajic/go-test-coverage@v2
2530
with:
26-
config: ./.testcoverage.yml
31+
config: ./.testcoverage.yml

0 commit comments

Comments
 (0)