Skip to content

Commit

Permalink
feat(infra/workflows): golang code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapharaos committed Jan 23, 2025
1 parent 4acbf05 commit 0881c17
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ jobs:
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: Test with coverage
run: go test -v -coverprofile=coverage.out ./...

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0881c17

Please sign in to comment.