Re-add codecov support

This commit is contained in:
2021-05-14 23:33:38 +01:00
parent c73f7d2915
commit 2b49e557e4
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -42,6 +42,10 @@ jobs:
run: |
git config --global url."https://${{ secrets.GHCR_TOKEN }}:[email protected]/${{ github.repository_owner }}".insteadOf "https://github.com/${{ github.repository_owner }}";
make test CI_RUN=${CI}
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
files: coverage.out
release:
name: Create Release
+1 -1
View File
@@ -11,7 +11,7 @@ prepare:
gocritic check
test: lint tidy
GOPRIVATE=$(SET_PRIVATE) go test -race $(ADDITIONAL_BUILD_FLAGS) -cover
GOPRIVATE=$(SET_PRIVATE) go test -race $(ADDITIONAL_BUILD_FLAGS) -cover -coverprofile=coverage.out
lint:
go fmt