Skip to content

Commit

Permalink
fix bug in codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewhrit committed Jul 21, 2024
1 parent 8875c97 commit 959516a
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ name: Tests and Coverage
on: [push, pull_request]

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 2
- uses: actions/[email protected]
with:
go-version: 1.22.5
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 2
- uses: actions/[email protected]
with:
go-version: 1.22.5
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with: ${{ secrets.CODECOV_TOKEN}}

0 comments on commit 959516a

Please sign in to comment.