From a5eaa105e295d59147a4cbe53f8a898bf4148e35 Mon Sep 17 00:00:00 2001 From: Marcus Welander Date: Sun, 7 Jan 2024 20:52:10 +0100 Subject: [PATCH] Point out report file --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1ff75e..6d379d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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