Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
codecov.io integration
  • Loading branch information
JesseCoretta committed Aug 18, 2023
1 parent 043fa71 commit 8dfdbb1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v ./...
run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic

- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}

0 comments on commit 8dfdbb1

Please sign in to comment.