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

Only include Radler in gcovr output

parent c6706e0c
No related branches found
No related tags found
1 merge request!5Only include Radler in gcovr output
......@@ -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