Skip to content

Commit

Permalink
CI: Only carry forward full-suite test coverage (home-assistant#60344)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 25, 2021
1 parent 2468724 commit f72e9ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,7 @@ jobs:
uses: codecov/[email protected]
with:
files: coverage.xml
flags: full-suite
- name: Upload coverage to Codecov (partial coverage)
if: needs.changes.outputs.test_full_suite == 'false'
uses: codecov/[email protected]
Expand Down
7 changes: 6 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ comment: false
# we need to carry forward.
flag_management:
default_rules:
carryforward: true
carryforward: false
individual_flags:
- name: full-suite
paths:
- ".*"
carryforward: true

0 comments on commit f72e9ae

Please sign in to comment.