diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fd61d5..6ba90b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,6 +130,7 @@ jobs: run: pytest --cov=pffdtd --cov-branch - name: GCOV + if: runner.os == 'Linux' run: gcovr --xml-pretty --exclude-unreachable-branches --exclude-throw-branches -r src -s build -o build/coverage.xml - name: Upload coverage report @@ -138,3 +139,4 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true files: ./.coverage,./build/coverage.xml + handle_no_reports_found: true