1
0
mirror of synced 2025-01-25 15:53:43 +01:00

git: Just disable coverage generation for now

This commit is contained in:
Nik 2024-12-18 22:56:44 +01:00 committed by GitHub
parent 680985fc13
commit 9303025427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,24 +69,24 @@ jobs:
ctest --output-on-failure ctest --output-on-failure
# Generate report from all gcov .gcda files # Generate report from all gcov .gcda files
- name: 🧪 Generate coverage report #- name: 🧪 Generate coverage report
run: | # run: |
sudo apt install python3-pip python3-venv # sudo apt install python3-pip python3-venv
python3 -m venv venv # python3 -m venv venv
. venv/bin/activate # . venv/bin/activate
pip3 install gcovr # pip3 install gcovr
cd build # 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 # 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 #- name: Upload coverage reports to Codecov
env: # env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ env.CODECOV_TOKEN }} # if: ${{ env.CODECOV_TOKEN }}
uses: codecov/codecov-action@v4 # uses: codecov/codecov-action@v4
with: # with:
fail_ci_if_error: true # fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }} # token: ${{ secrets.CODECOV_TOKEN }}
file: build/coverage_report.xml # file: build/coverage_report.xml
langs: langs:
name: 🧪 Langs name: 🧪 Langs