Skip to content

Commit

Permalink
Merge pull request #750 from Prime-Holding/update-codecov
Browse files Browse the repository at this point in the history
Update codecov to version 4
  • Loading branch information
nikolay-vasilev-prime authored Jul 23, 2024
2 parents da125e0 + 44012e6 commit 991bdc5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build_and_test_rx_bloc_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ jobs:
path: "${{ matrix.folder }}/coverage/lcov.info"
min_coverage: 50
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ${{ matrix.folder }}/coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
flutter_packages:
strategy:
matrix:
Expand Down Expand Up @@ -105,9 +107,11 @@ jobs:
path: "${{ matrix.folder }}/coverage/lcov.info"
min_coverage: 89
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ${{ matrix.folder }}/coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
packages:
strategy:
matrix:
Expand Down Expand Up @@ -156,9 +160,11 @@ jobs:
path: "${{ matrix.folder }}/coverage/lcov.info"
min_coverage: 67
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ${{ matrix.folder }}/coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}
cli_packages:
strategy:
matrix:
Expand Down Expand Up @@ -202,9 +208,11 @@ jobs:
path: "${{ matrix.folder }}/coverage/lcov.info"
min_coverage: 67
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
directory: ${{ matrix.folder }}/coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}

build:
needs: [examples, packages, flutter_packages, cli_packages]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ jobs:
if: ${{ env.UPLOAD_CODE_COVERAGE }}
uses: codecov/codecov-action@v4
with:
directory: coverage
directory: coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_SECRET }}

0 comments on commit 991bdc5

Please sign in to comment.