Add codecov
This commit is contained in:
10
.github/workflows/go-test.yaml
vendored
10
.github/workflows/go-test.yaml
vendored
@@ -21,4 +21,12 @@ jobs:
|
|||||||
./get_helm.sh
|
./get_helm.sh
|
||||||
- name: Launch Test
|
- name: Launch Test
|
||||||
run: |
|
run: |
|
||||||
go test -v ./...
|
go vet ./... && go test -coverprofile=coverout.out -v ./...
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v4.0.1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
slug: metal3d/katenary
|
||||||
|
file: ./coverout.out
|
||||||
|
fail_ci_if_error: true
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user