diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 203037ee0..9faaabec0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -571,10 +571,14 @@ jobs: run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%" --verbose - run: dir . /s working-directory: ${{ runner.temp }} + - run: | + lcov --version + lcov -capture --directory . --output-file coverage.info + shell: bash #C:\msys64\usr\bin\bash.exe --noprofile --norc -e -o pipefail '{0}' + working-directory: ${{ runner.temp }} - name: Collate test coverage if: matrix.toolchain != 'msvc' run: cmake --build "$RUNNER_TEMP" --target coverage --verbose - shell: bash #C:\msys64\usr\bin\bash.exe --noprofile --norc -e -o pipefail '{0}' - name: Upload test results if: matrix.arch != 'arm64' && fromJSON(steps.post-build.outputs.tap) uses: actions/upload-artifact@v4