CI: Only carry forward full-suite test coverage (#60344)

This commit is contained in:
Franck Nijhof 2021-11-25 17:35:15 +01:00 committed by GitHub
parent 2468724378
commit f72e9aea1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -727,6 +727,7 @@ jobs:
uses: codecov/codecov-action@v2.1.0
with:
files: coverage.xml
flags: full-suite
- name: Upload coverage to Codecov (partial coverage)
if: needs.changes.outputs.test_full_suite == 'false'
uses: codecov/codecov-action@v2.1.0

View File

@ -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