Skip to content

Commit b0340df

Browse files
committed
fix: fixed coverage upload to codecov
1 parent 3a97178 commit b0340df

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/code_quality.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,13 @@ jobs:
7474
run: dart pub global run combine_coverage --repo-path="."
7575

7676
- name: Upload coverage reports to Codecov
77-
uses: codecov/codecov-action@v3
78-
env:
79-
files: ./coverage/lcov.info
80-
verbose: true
77+
uses: codecov/codecov-action@v4
78+
with:
79+
directory: ./coverage/
80+
fail_ci_if_error: true
81+
# flags: unittests
82+
token: ${{ secrets.CODECOV_TOKEN }}
83+
verbose: true
8184

8285
- name: Stop Docker Container
8386
run: melos exec --scope="openapi_generator" -- bash -c "cd \$MELOS_PACKAGE_PATH && docker-compose -f "docker-compose.yaml" down"

0 commit comments

Comments
 (0)