Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
ci(build-and-test): add codecov flags (#56)
Browse files Browse the repository at this point in the history
* ci(build-and-test): add codecov flags

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add codecov.yaml

Signed-off-by: Keisuke Shima <19993104+KeisukeShima@users.noreply.github.com>

* add codecov.yaml

* remove sync-files.yaml from reverse-reference

Co-authored-by: Kenji Miyake <kenji.miyake@tier4.jp>
  • Loading branch information
KeisukeShima and Kenji Miyake committed Apr 9, 2022
1 parent ac456f1 commit 62fbb9b
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/sync-files-reverse-reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
- source: .github/workflows/build-and-test-self-hosted.yaml
- source: .github/workflows/check-build-depends.yaml
- source: .github/workflows/clang-tidy-pr-comments.yaml
- source: .github/workflows/sync-files.yaml
- source: codecov.yaml
1 change: 1 addition & 0 deletions .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
files: ${{ steps.test.outputs.coverage-report-files }}
fail_ci_if_error: false
verbose: true
flags: differential

clang-tidy-differential:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ jobs:
files: ${{ steps.test.outputs.coverage-report-files }}
fail_ci_if_error: false
verbose: true
flags: total
22 changes: 22 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
coverage:
status:
project:
default:
target: auto
patch:
default:
target: auto

comment:
show_carryforward_flags: true

flag_management:
default_rules:
carryforward: true
statuses:
- name_prefix: project-
type: project
target: auto
- name_prefix: patch-
type: patch
target: auto

0 comments on commit 62fbb9b

Please sign in to comment.