Skip to content

Commit

Permalink
Add codecov.io coverage
Browse files Browse the repository at this point in the history
(Which is horrible, but that's life)
  • Loading branch information
fingon committed May 16, 2024
1 parent 4bb7542 commit f31273d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ jobs:
version: latest
- run: |
make build
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fmt:
templ fmt .

$(BINARY): $(wildcard */*.go) $(wildcard *.go) $(GENERATED) Makefile
go test ./...
go test ./... -race -covermode=atomic -coverprofile=coverage.out
go build .

.PHONY: clean
Expand Down

0 comments on commit f31273d

Please sign in to comment.