diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8a691a4d..240e4c9e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -22,7 +22,7 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up Java 21 + - name: Set up Java uses: actions/setup-java@v1 with: java-version: 21 @@ -43,7 +43,7 @@ jobs: - name: Run build-wrapper run: | - build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make -j $(nproc) -C cpp coverage DEBUG= + build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make -j $(nproc) -C cpp coverage DEBUG=1 - name: Generate coverage data run: gcovr --sonarqube > coverage.xml