diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 91b0f9bcb..0fdbdc297 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -26,7 +26,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -D ENABLE_TESTING:BOOL=TRUE -D ENABLE_COVERAGE:BOOL=TRUE -S . -B build @@ -38,26 +38,26 @@ jobs: working-directory: build run: ctest --output-on-failure -j 2 - - name: collect code coverage - run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" - -# - name: Generate coverage info -# working-directory: build -# continue-on-error: true -# run: | -# mkdir gcov-reports -# pushd gcov-reports -# for f in `find ../tests/CMakeFiles/CDT_test.dir -name '*.o'`; do -# echo "Processing $f file..." -# gcov -o ${f} x -# done -# ls | wc -l -# popd -# -# - name: Submit to codecov.io -# uses: codecov/codecov-action@v3 -# with: -# directory: build/gcov-reports -# fail_ci_if_error: false -# verbose: true -# gcov: true \ No newline at end of file +# - name: collect code coverage +# run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" + + - name: Generate coverage info + working-directory: build + continue-on-error: true + run: | + mkdir gcov-reports + pushd gcov-reports + for f in `find ../tests/CMakeFiles/CDT_test.dir -name '*.o'`; do + echo "Processing $f file..." + gcov -o ${f} x + done + ls | wc -l + popd + + - name: Submit to codecov.io + uses: codecov/codecov-action@v3 + with: + directory: build/gcov-reports + fail_ci_if_error: false + verbose: true + gcov: true \ No newline at end of file diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0f0fb12c7..e85569bc5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -66,7 +66,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake --preset=build diff --git a/.github/workflows/linux-clang.yml b/.github/workflows/linux-clang.yml index acb392de4..12b2a1e1b 100644 --- a/.github/workflows/linux-clang.yml +++ b/.github/workflows/linux-clang.yml @@ -26,7 +26,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake --preset=build diff --git a/.github/workflows/linux-gcc.yml b/.github/workflows/linux-gcc.yml index 72e65b119..2f0be5c59 100644 --- a/.github/workflows/linux-gcc.yml +++ b/.github/workflows/linux-gcc.yml @@ -26,7 +26,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake --preset=build diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 38c15cffa..5e3bf7928 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -19,7 +19,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake --preset=build diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 5b3c7cc5e..67b8174d1 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -30,7 +30,7 @@ jobs: - name: Restore artifacts or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Configure run: cmake -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo -D ENABLE_TESTING:BOOL=TRUE -D ENABLE_COVERAGE:BOOL=TRUE -S . -B build diff --git a/.github/workflows/windows-msvc.yml b/.github/workflows/windows-msvc.yml index 7dea2cfe8..2c3888f86 100644 --- a/.github/workflows/windows-msvc.yml +++ b/.github/workflows/windows-msvc.yml @@ -24,7 +24,7 @@ jobs: - name: Restore artifacts, or setup vcpkg uses: lukka/run-vcpkg@v10 with: - vcpkgGitCommitId: cd5a39fc6333563884d9eea15bfb6f5a450b1cf1 + vcpkgGitCommitId: 4116148a7f5c09d39da34ffb75f33283796d687b - name: Install vcpkg packages and configure CMake run: |