Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Young Bu Park <[email protected]>
  • Loading branch information
youngbupark committed Apr 1, 2024
1 parent e7dbf1c commit c84e856
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,12 @@ jobs:
make test
- name: Upload coverage to Codecov
if: matrix.target_arch == 'amd64' && matrix.target_os == 'linux'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
file: ./dist/unit_test/ut_coverage.out
flags: unittests
fail_ci_if_error: false
fail_ci_if_error: true
verbose: true
- name: Process Unit Test Results
uses: ./.github/actions/process-test-results
# Always is required here to make sure this target runs even when tests fail.
Expand Down
10 changes: 4 additions & 6 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,19 @@ codecov:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "50...100"
status:
project:
default:
informational: true
target: auto
threshold: 1%
threshold: 0%

comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no

ignore:
- "**/mock_*" # ignore all mock files
- "pkg/**/mock_*" # ignore all mock files
- "pkg/armrpc/rpctest/*" # ignore all test helpers in rpctest
- "**/zz_*" # ignore autogenerated files from autorest
- "pkg/**/zz_*" # ignore autogenerated files from autorest

0 comments on commit c84e856

Please sign in to comment.