mirror of
https://github.com/netbirdio/netbird-kubeapi-proxy.git
synced 2026-09-23 09:34:58 -07:00
Merge pull request #5 from netbirdio/feature/codecov
Add codecov to Go unit tests
This commit is contained in:
@@ -30,4 +30,10 @@ jobs:
|
||||
go mod tidy
|
||||
git diff --exit-code
|
||||
- name: Run unit tests
|
||||
run: make -B test-unit
|
||||
run: make test-unit
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 #v6.0.1
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
flags: unit
|
||||
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ Dockerfile.cross
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
# Output of the go coverage tool.
|
||||
coverage.txt
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
|
||||
Reference in New Issue
Block a user