Commit 325c5670 authored by Leo Pound Singer's avatar Leo Pound Singer
Browse files

WIP

parent 2e06e0e1
Pipeline #188080 passed with stages
in 255 minutes and 57 seconds
......@@ -775,7 +775,7 @@ coverage:
- python3 -m pip install coverage gcovr pycobertura
- ./00boot
# Configure for C code coverage measurement with gcc
- ./configure --enable-swig-python CFLAGS="--coverage -fprofile-abs-path" PYTHON=python3
- ./configure --enable-swig-python CFLAGS="--coverage" PYTHON=python3
# Run unit tests with Python scripts instrumented by coverage.py
- make -j${CPU_COUNT} check COVERAGE_FILE="$(pwd)/.coverage" PY_LOG_FLAGS="-m coverage run --source \"$(pwd)\" --omit \*/test/\* -p"
# Output C coverage data in Cobertura format
......@@ -829,6 +829,8 @@ coverage:
paths:
- coverage.html
- coverage.xml
- c-coverage.xml
- py-coverage.xml
reports:
cobertura: coverage.xml
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment