mirror of
https://github.com/lukaszraczylo/go-simple-graphql.git
synced 2026-10-14 00:58:32 +00:00
Re-add codecov support
This commit is contained in:
@@ -42,6 +42,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global url."https://${{ secrets.GHCR_TOKEN }}:[email protected]/${{ github.repository_owner }}".insteadOf "https://github.com/${{ github.repository_owner }}";
|
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}
|
make test CI_RUN=${CI}
|
||||||
|
- uses: codecov/codecov-action@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
|
||||||
|
files: coverage.out
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ prepare:
|
|||||||
gocritic check
|
gocritic check
|
||||||
|
|
||||||
test: lint tidy
|
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:
|
lint:
|
||||||
go fmt
|
go fmt
|
||||||
|
|||||||
Reference in New Issue
Block a user