git: Just disable coverage generation for now
This commit is contained in:
parent
680985fc13
commit
9303025427
36
.github/workflows/tests.yml
vendored
36
.github/workflows/tests.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user