Skip to content
Snippets Groups Projects
Commit a7db7180 authored by Maik Nijhuis's avatar Maik Nijhuis
Browse files

Merge branch 'fix-gcovr-output' into 'main'

Only include Radler in gcovr output

See merge request !5
parents c6706e0c c66785be
No related branches found
Tags v0.0.23
1 merge request!5Only include Radler in gcovr output
Pipeline #28693 passed
......@@ -114,19 +114,26 @@ build-2204:
.test:
stage: test
script:
- cd build/
- ctest -j`nproc` --output-on-failure -T test
- cd build/
- ctest -j`nproc` --output-on-failure -T test
test-2004:
extends: .test
needs: ["versioning","build-2004"]
image: $BASE_IMAGE_2004
after_script:
- gcovr -j`nproc` -r .. -e '.*/external/.*' -e '.*/CompilerIdCXX/.*' -e '.*/test/.*'
- gcovr -j`nproc` -e 'external/.*' -e '.*/CompilerIdCXX/.*' -e '.*/test/.*' build/
test-2204:
extends: .test
needs: ["versioning","build-2204"]
image: $BASE_IMAGE_2204
after_script:
- gcovr -j`nproc` -r .. -e '.*/external/.*' -e '.*/CompilerIdCXX/.*' -e '.*/test/.*'
- mkdir coverage
- gcovr -j`nproc` -e 'external/.*' -e '.*/CompilerIdCXX/.*' -e '.*/test/.*' --xml coverage.xml --html-details coverage/coverage.html build/
- tar cfz coverage.tar.gz coverage/
artifacts:
paths:
- coverage.tar.gz
reports:
cobertura: coverage.xml
\ No newline at end of file
......@@ -9,8 +9,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get upgrade -
wget git make cmake g++ doxygen \
# install dependencies
libboost-all-dev libhdf5-dev libpython3-dev python3-pip \
casacore-dev casacore-tools clang-format-12 \
casacore-dev casacore-tools clang-format-12 gcovr \
# The formatter needs a binary named 'clang-format', not 'clang-format-12'.
# Same for clang-tidy-12.
&& ln -sf clang-format-12 /usr/bin/clang-format \
&& python3 -m pip install gcovr==5.0 cmake-format
\ No newline at end of file
&& python3 -m pip install cmake-format
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment