From 93030254279e4830066b4cd2a36deb4f5f80705c Mon Sep 17 00:00:00 2001 From: Nik Date: Wed, 18 Dec 2024 22:56:44 +0100 Subject: [PATCH] git: Just disable coverage generation for now --- .github/workflows/tests.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d788d78e8..dffab6b69 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -69,24 +69,24 @@ jobs: ctest --output-on-failure # Generate report from all gcov .gcda files - - name: 🧪 Generate coverage report - run: | - sudo apt install python3-pip python3-venv - python3 -m venv venv - . venv/bin/activate - pip3 install gcovr - cd build - gcovr --gcov-executable /usr/bin/gcov-14 --exclude '.*/yara_rules/' --exclude '.*/third_party/' --exclude '.*/external/' --root .. --xml coverage_report.xml --verbose --gcov-ignore-errors all - - - name: Upload coverage reports to Codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - if: ${{ env.CODECOV_TOKEN }} - uses: codecov/codecov-action@v4 - with: - fail_ci_if_error: true - token: ${{ secrets.CODECOV_TOKEN }} - file: build/coverage_report.xml + #- name: 🧪 Generate coverage report + # run: | + # sudo apt install python3-pip python3-venv + # python3 -m venv venv + # . venv/bin/activate + # pip3 install gcovr + # cd build + # gcovr --gcov-executable /usr/bin/gcov-14 --exclude '.*/yara_rules/' --exclude '.*/third_party/' --exclude '.*/external/' --root .. --xml coverage_report.xml --verbose --gcov-ignore-errors all + # + #- name: Upload coverage reports to Codecov + # env: + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + # if: ${{ env.CODECOV_TOKEN }} + # uses: codecov/codecov-action@v4 + # with: + # fail_ci_if_error: true + # token: ${{ secrets.CODECOV_TOKEN }} + # file: build/coverage_report.xml langs: name: 🧪 Langs