Skip to content

Commit

Permalink
Need to use poetry run to see gcovr
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Nov 15, 2024
1 parent 9e847b3 commit b717e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Install package dependencies
run: poetry run conan install . --profile:all=./.conan2/profiles/${{ runner.os }} --output-folder=build --build=missing --lockfile-partial --settings=build_type=Debug
- name: Configure
run: cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug -DGCOVR_XML=ON
run: poetry run cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug -DGCOVR_XML=ON
working-directory: build
- name: Xvfb
run: |
Expand All @@ -85,7 +85,7 @@ jobs:
fluxbox > /dev/null 2>&1 &
sleep 5
- name: Build XML report
run: cmake --build . --config Debug -t coverage-xml
run: poetry run cmake --build . --config Debug -t coverage-xml
working-directory: build
- uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit b717e61

Please sign in to comment.