diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index febc5c155..8dfbfdc4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,12 @@ jobs: run: | make test + - name: Publish Unit Test Coverage + uses: codecov/codecov-action@v3 + with: + flags: unittests + file: ./cover.out + publish-artifacts: needs: detect-noop if: needs.detect-noop.outputs.noop != 'true' diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..a4795cabd --- /dev/null +++ b/codecov.yml @@ -0,0 +1,23 @@ +# When modifying this file, please validate using +# curl -X POST --data-binary @codecov.yml https://codecov.io/validate +ignore: + - "**/zz_generated.deepcopy.go" + - "assets" + - "config" + - "deploy" + - "design" + - "docs" + - "e2e" + - "hacks" + - "overrides" + - "terraform" +github_checks: + annotations: false +coverage: + status: + project: + default: + informational: true + patch: + default: + informational: true