Skip to content

Commit

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

Signed-off-by: Keisuke Shima <[email protected]>

* add codecov.yaml

Signed-off-by: Keisuke Shima <[email protected]>

* add codecov.yaml

* remove sync-files.yaml from reverse-reference

Co-authored-by: Kenji Miyake <[email protected]>
  • Loading branch information
2 people authored and 1222-takeshi committed Dec 2, 2022
1 parent a5803f7 commit d1aa649
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 d1aa649

Please sign in to comment.