1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Configure codecov (#2995)

* Configure codevov

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

* Disable annotations

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

* Set ignore

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>

---------

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>
This commit is contained in:
Shuhei Kitagawa 2024-01-06 07:26:39 +09:00 committed by GitHub
parent 0bb4feae4a
commit f32ea9f91d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -116,6 +116,12 @@ jobs:
run: | run: |
make test make test
- name: Publish Unit Test Coverage
uses: codecov/codecov-action@v3
with:
flags: unittests
file: ./cover.out
publish-artifacts: publish-artifacts:
needs: detect-noop needs: detect-noop
if: needs.detect-noop.outputs.noop != 'true' if: needs.detect-noop.outputs.noop != 'true'

23
codecov.yml Normal file
View file

@ -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