Skip to content

Commit

Permalink
build: Add Codecov reporting to build pipeline (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavanki authored May 15, 2024
1 parent 044a5c3 commit cb4ed78
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,26 @@ jobs:
exit 1
fi
coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22.x"

- name: Run coverage
run: make coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: segmentio/chamber

dist:
strategy:
matrix:
Expand Down

0 comments on commit cb4ed78

Please sign in to comment.