Skip to content

Commit

Permalink
CI: codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
michurin committed Dec 21, 2024
1 parent a6a7e01 commit c8a7a5f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: codecov # this string appears on badge
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
name: "Upload coverage reports to Codecov"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- run: "go test -coverprofile=coverage.txt -covermode=atomic ."
- uses: codecov/codecov-action@v5
with:
files: ./coverage.txt
verbose: true
token: ${{ secrets.CODECOV_TOKEN }} # required

0 comments on commit c8a7a5f

Please sign in to comment.