Integration with codecov.io

This commit is contained in:
2021-03-27 09:11:38 +00:00
parent acce647669
commit f7d9ff857b
3 changed files with 9 additions and 2 deletions
+6
View File
@@ -30,6 +30,7 @@ jobs:
runs-on: ubuntu-latest
env:
CI: true
CODECOV
steps:
- name: Checkout repo
uses: actions/checkout@v2
@@ -39,6 +40,11 @@ jobs:
args: |
make prepare;
make test CI_RUN=${CI}
- name: Codecov integration
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
release:
name: Create Release
+2 -1
View File
@@ -1,2 +1,3 @@
*.out
*.test
*.test
coverage.txt
+1 -1
View File
@@ -10,7 +10,7 @@ prepare:
test:
gocritic check
go test $(ADDITIONAL_BUILD_FLAGS) -v -coverprofile cover.out -memprofile mem.out
go test -race $(ADDITIONAL_BUILD_FLAGS) -v -coverprofile coverage.txt -covermode=atomic
lint:
go fmt