test needs to output coverage

This commit is contained in:
John Roesler
2023-11-14 10:22:45 -06:00
parent 83459ca846
commit 04927311d1
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -28,8 +28,8 @@ jobs:
with:
version: v1.55.2
- name: test
run: make test
run: make test_coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
-1
View File
@@ -14,7 +14,6 @@ test:
test_coverage:
@go test -race -v $(GO_FLAGS) -count=1 -coverprofile=coverage.out -covermode=atomic $(GO_PKGS)
@go tool cover -html coverage.out
mocks:
@go generate ./...