From f72e9aea1cd54254e6918c765753c1194d13c519 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 25 Nov 2021 17:35:15 +0100 Subject: [PATCH] CI: Only carry forward full-suite test coverage (#60344) --- .github/workflows/ci.yaml | 1 + codecov.yml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3f47af055ad..551c9861bd9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/codecov.yml b/codecov.yml index 5c0750e659f..8dee6ee3686 100644 --- a/codecov.yml +++ b/codecov.yml @@ -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