Skip to content

Commit 2790383

Browse files
committed
Enabled Codecov.
1 parent 679ed14 commit 2790383

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test-scaffold.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ jobs:
4848
path: ./.scaffold-coverage-html
4949
if-no-files-found: error
5050

51-
# - name: Upload coverage report to Codecov
52-
# uses: codecov/codecov-action@v4
53-
# with:
54-
# directory: ./.scaffold-coverage-html
55-
# fail_ci_if_error: true
56-
# token: ${{ secrets.CODECOV_TOKEN }}
51+
- name: Upload coverage report to Codecov
52+
uses: codecov/codecov-action@v4
53+
if: ${{ env.CODECOV_TOKEN != '' }}
54+
with:
55+
directory: ./.scaffold-coverage-html
56+
fail_ci_if_error: true
57+
token: ${{ secrets.CODECOV_TOKEN }}
58+
env:
59+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)