Skip to content

Commit

Permalink
ci: use make coverage (#28)
Browse files Browse the repository at this point in the history
* ci: use make coverage

* chore: debug verbosity

* ci: build local image

* ci: heighliner

* ci: get heighliner

* ci: disable debug verbose
  • Loading branch information
fmorency authored Mar 26, 2024
1 parent ef4fc76 commit bb2ed3d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Get heighliner
run: |
wget -c https://github.com/strangelove-ventures/heighliner/releases/download/v1.5.4/heighliner_1.5.4_linux_amd64.tar.gz -O - | tar -xz heighliner
mv heighliner /usr/local/bin
- name: Make local image
run: make local-image
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
run: make coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
with:
file: coverage-filtered.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit bb2ed3d

Please sign in to comment.