ci: upgrade to codecov/codecov-action@v5 (#2842)
This commit is contained in:
@@ -84,7 +84,7 @@ runs:
|
|||||||
run: echo "package_name=${PACKAGE_PATH##*/}" >> $GITHUB_OUTPUT
|
run: echo "package_name=${PACKAGE_PATH##*/}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 📊 Upload Coverage
|
- name: 📊 Upload Coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
flags: ${{ steps.split.outputs.package_name }}
|
flags: ${{ steps.split.outputs.package_name }}
|
||||||
token: ${{ inputs.codecov_token }}
|
token: ${{ inputs.codecov_token }}
|
||||||
|
|||||||
+5
-4
@@ -11,12 +11,13 @@ coverage:
|
|||||||
default:
|
default:
|
||||||
target: 100%
|
target: 100%
|
||||||
|
|
||||||
# Packages in third_party don't have 100% coverage, which shouldn't prevent
|
|
||||||
# us from landing. Ideally, this would be configured to allow a non-100% base
|
|
||||||
# and enforce that all changes have 100% coverage of affected lines.
|
|
||||||
ignore:
|
ignore:
|
||||||
|
# Ignore coverage for generated code (e.g. json_serializable).
|
||||||
|
- "**/**.g.dart"
|
||||||
|
# Packages in third_party don't have 100% coverage, which shouldn't prevent
|
||||||
|
# us from landing. Ideally, this would be configured to allow a non-100% base
|
||||||
|
# and enforce that all changes have 100% coverage of affected lines.
|
||||||
- third_party
|
- third_party
|
||||||
- lib/**.g.dart
|
|
||||||
|
|
||||||
flag_management:
|
flag_management:
|
||||||
default_rules: # the rules that will be followed for any flag added, generally
|
default_rules: # the rules that will be followed for any flag added, generally
|
||||||
|
|||||||
Reference in New Issue
Block a user