Skip to content

Commit

Permalink
Fixes skupperproject#1427: update codecov/codecov-action v4 API
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiusti committed Feb 28, 2024
1 parent bab0140 commit d9547d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -797,17 +797,18 @@ jobs:
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
working-directory: ${{env.RouterBuildDir}}
run: |
dnf install -y lcov
dnf install -y lcov git
cmake --build . --target coverage
# https://github.com/codecov/codecov-action
- name: Upload C Coverage
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: ${{matrix.covType}}tests
verbose: true
gcov: true
name: skupper-router
root_dir: .
working-directory: ${{github.workspace}}/skupper-router
Expand All @@ -822,6 +823,8 @@ jobs:
- name: Upload Python Coverage
if: ${{ !cancelled() && matrix.buildType == 'Coverage' }}
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: py${{matrix.covType}}tests
verbose: true
Expand Down

0 comments on commit d9547d8

Please sign in to comment.