Skip to content

Commit

Permalink
Point out report file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwthinker committed Jan 7, 2024
1 parent 9459f25 commit a5eaa10
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,18 @@ jobs:
- name: Run code coverage
shell: bash
run: |
sudo apt install lcov
sudo apt-get install lcov
cd build_debug
lcov -c -d . -b ../src --no-external -o lcov.info
if: runner.os == 'Linux' || runner.os == 'macOS'
if: runner.os == 'Linux'

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./build_debug/
files: ./lcov.info
if: runner.os == 'Linux'

- name: Run example on Linux/macOS DEBUG
shell: bash
Expand Down

0 comments on commit a5eaa10

Please sign in to comment.