Skip to content

Commit c635242

Browse files
committed
Use Codecov GitHub Action
1 parent 78e52e0 commit c635242

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ jobs:
5858
5959
- name: Push code coverage
6060
if: ${{ matrix.make_target == 'lcov' }}
61-
run: |
62-
cp libvmod-cfg-*-coverage.info codecov.info
63-
bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -t ${{ secrets.CODECOV_TOKEN }}
61+
uses: codecov/codecov-action@v5
62+
with:
63+
token: ${{ secrets.CODECOV_TOKEN }}
64+
fail_ci_if_error: true
6465

6566
- name: Show test report
6667
if: ${{ failure() }}

0 commit comments

Comments
 (0)