diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 57a4a36003..d7ee6789f8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,8 @@ jobs: - name: Setup asdf uses: asdf-vm/actions/setup@v1 - name: Run unit tests - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: make go-test + - name: Report Coveralls + uses: coverallsapp/github-action@v2 + with: + file: hack/release/coverage.out diff --git a/.go-tools b/.go-tools index a2c57be791..fda5d2f8b9 100644 --- a/.go-tools +++ b/.go-tools @@ -1,4 +1,3 @@ github.com/caarlos0/svu@5b40c3113f8d7fd477f2410d8e14eaf835f3a76e -github.com/mattn/goveralls@602d73e9edb54427afabf600a676e4fcf09a2480 github.com/a8m/envsubst/cmd/envsubst@v1.4.2 github.com/itchyny/gojq/cmd/gojq@v0.12.13 diff --git a/make/go.mk b/make/go.mk index c3376fe0eb..7cb249912a 100644 --- a/make/go.mk +++ b/make/go.mk @@ -1,8 +1,7 @@ .PHONY: go-test go-test: go-lint -go-test: install-tool.golang install-tool.go.goveralls +go-test: install-tool.golang cd hack/release && go test -v -race -covermode=atomic -coverprofile=coverage.out ./... - cd hack/release && goveralls -coverprofile=coverage.out -service=github .PHONY: mod-tidy mod-tidy: install-tool.golang