Skip to content

Commit

Permalink
GitHub Actions: rename coverage file to coverage.out
Browse files Browse the repository at this point in the history
  • Loading branch information
dolmen committed Mar 28, 2024
1 parent a12f7b7 commit 38530b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
go-version: ${{ matrix.go }}

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

# https://app.codecov.io/github.com/dolmen-go/jsonptr
- name: Upload coverage to Codecov
if: matrix.go == env.go_latest
uses: codecov/codecov-action@v4
with:
# https://github.com/dolmen-go/jsonptr/settings/secrets/actions
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 38530b8

Please sign in to comment.