From 5c79d43f676091445aef961ba7a338e8b12776e2 Mon Sep 17 00:00:00 2001 From: sachaarbonel Date: Wed, 18 Sep 2024 12:40:04 +0200 Subject: [PATCH] codecov --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c92c790..29dfff5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,3 +33,13 @@ jobs: run: | go test -coverprofile cover.out -v -race ./... go tool cover -func=cover.out + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./cover.out + flags: unittests + name: codecov-umbrella + # todo swap to true once codecov is properly configured + fail_ci_if_error: false \ No newline at end of file