chore: add missing codecov.yml file and comments

This commit is contained in:
Eric Seidel
2023-09-08 11:19:00 -07:00
parent edc3130400
commit 84cfcf5c58
3 changed files with 23 additions and 0 deletions
@@ -79,6 +79,11 @@ runs:
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
# We use Codecov's carryforward flags to allow our PR testing to only
# run affected packages, but also allow our coverage information from
# past runs to "carry forward" on a "per flag" basis. We tag coverage
# information with "flags" explaining what directory the coverage is from.
# https://docs.codecov.com/docs/carryforward-flags
flags: ${{ steps.split.outputs.package_name }}
token: ${{ inputs.codecov_token }}
+5
View File
@@ -36,5 +36,10 @@ runs:
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
# We use Codecov's carryforward flags to allow our PR testing to only
# run affected packages, but also allow our coverage information from
# past runs to "carry forward" on a "per flag" basis. We tag coverage
# information with "flags" explaining what directory the coverage is from.
# https://docs.codecov.com/docs/carryforward-flags
flags: ${{ steps.split.outputs.package_name }}
token: ${{ inputs.codecov_token }}
+13
View File
@@ -0,0 +1,13 @@
# 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
# We use Codecov's carryforward flags to allow our PR testing to only
# run affected packages, but also allow our coverage information from
# past runs to "carry forward" on a "per flag" basis. We tag coverage
# information with "flags" explaining what directory the coverage is from.
# https://docs.codecov.com/docs/carryforward-flags
carryforward: true