Skip to content

Commit

Permalink
💚 fix codecov (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
techouse authored May 3, 2024
1 parent c558b3b commit 707950b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
shell: bash
env:
PUB_ENVIRONMENT: bot.github
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
permissions: read-all

jobs:
Expand Down Expand Up @@ -133,7 +134,7 @@ jobs:
if: "always() && steps.chopper_pub_upgrade.conclusion == 'success'"
working-directory: chopper
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: chopper/coverage/lcov.info
fail_ci_if_error: true
Expand All @@ -148,7 +149,7 @@ jobs:
if: "always() && steps.chopper_built_value_pub_upgrade.conclusion == 'success'"
working-directory: chopper_built_value
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: chopper_built_value/coverage/lcov.info
fail_ci_if_error: true
Expand All @@ -163,7 +164,7 @@ jobs:
if: "always() && steps.chopper_generator_pub_upgrade.conclusion == 'success'"
working-directory: chopper_generator
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: chopper_generator/coverage/lcov.info
fail_ci_if_error: true
Expand Down
4 changes: 3 additions & 1 deletion mono_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ github:
branches:
- master
- develop
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

merge_stages:
- analyze_and_format
- unit_test

coverage_service:
- codecov
- codecov

0 comments on commit 707950b

Please sign in to comment.