Skip to content

Commit

Permalink
add codecov report to github actions (#257)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 authored Feb 27, 2023
1 parent f541bb2 commit 450ce31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
status:
project:
default:
target: auto
# this allows a 0.1% drop from the previous base commit coverage
threshold: 0.1%
ignore:
- "apis/config/v1alpha1/zz_generated.deepcopy.go"
- "apis/config/v1alpha1/groupversion_info.go"
- "apis/tempo/v1alpha1/zz_generated.deepcopy.go"
- "apis/tempo/v1alpha1/groupversion_info.go"
9 changes: 9 additions & 0 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ jobs:
- name: "basic checks"
run: make ci USER=os-observability

- name: "upload coverage report"
uses: codecov/codecov-action@v3
with:
files: cover.out
flags: unittests
name: codecov-tempo-operator
fail_ci_if_error: true
verbose: true

security:
name: Security
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 450ce31

Please sign in to comment.