Skip to content

Commit

Permalink
fix(ci): Coverage steps should always pass.
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Nana <[email protected]>
  • Loading branch information
na2axl committed Oct 30, 2024
1 parent 59c18c0 commit 2804e70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ jobs:
AM_SDK_PLATFORM: ${{ matrix.config.target_triplet }}

- name: Generate coverage
continue-on-error: true
if: matrix.build_type == 'debug' && !startsWith(matrix.config.os, 'windows')
shell: bash
working-directory: ${{ inputs.project-path }}/build
Expand All @@ -220,6 +221,7 @@ jobs:
lcov --remove coverage.info '/usr/*' '${{ github.workspace }}/build/vcpkg_installed/*' '${{ github.workspace }}/src/Utils/*' '${{ github.workspace }}/samples/*' --output-file coverage.info --ignore-errors inconsistent,range,mismatch,source,count,negative
- name: Upload coverage to Codecov
continue-on-error: true
if: matrix.build_type == 'debug' && !startsWith(matrix.config.os, 'windows')
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 2804e70

Please sign in to comment.