Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthu3375 authored Jul 26, 2024
1 parent c8a48cd commit 6039caa
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,18 +277,12 @@ jobs:
# find ./build -name "*.gcno" -o -name "*.gcda" > /dev/null
# gcovr --config doc/coverage/gcovr.cfg --gcov-executable '${{ matrix.gcov_executable }}' --merge-mode-functions=merge-use-line-0

# - name: Coverage
# if: ${{ runner.os != 'Windows' && matrix.build_type == 'Debug' }}
# run: |
# mkdir -p build/coverage
# gcovr --config doc/coverage/gcovr.cfg --gcov-executable '${{ matrix.gcov_executable }}'

- name: Coverage
if: ${{ runner.os != 'Windows' && matrix.build_type == 'Debug' }}
run: |
mkdir -p build/coverage
gcovr --config doc/coverage/gcovr.cfg --gcov-executable 'llvm-cov gcov-11' --merge-mode-functions=sum
gcovr --config doc/coverage/gcovr.cfg --gcov-executable '${{ matrix.gcov_executable }}'
- name: Publish to codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 6039caa

Please sign in to comment.