ci: use codecov's coverage "carryforward" flags (#1159)

This commit is contained in:
Eric Seidel
2023-08-24 13:20:38 -07:00
committed by GitHub
parent a916d7d766
commit ff86a5a46b
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@ runs:
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
flags: ${{ inputs.working_directory }}
token: ${{ inputs.codecov_token }}
- uses: VeryGoodOpenSource/very_good_coverage@v2
+8
View File
@@ -0,0 +1,8 @@
# Not sure if .yaml suffix would work, currently using .yml to match examples:
# https://docs.codecov.com/docs/codecov-yaml
# Validate with:
# curl -X POST --data-binary @codecov.yml https://codecov.io/validate
# See https://docs.codecov.com/docs/flags
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true