Add codecov

This commit is contained in:
2024-04-23 14:54:42 +02:00
parent 8b01807568
commit 2e3dd5032f

View File

@@ -21,4 +21,12 @@ jobs:
./get_helm.sh
- name: Launch Test
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