Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
radler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
radler
Commits
c66785be
Commit
c66785be
authored
2 years ago
by
Maik Nijhuis
Browse files
Options
Downloads
Patches
Plain Diff
Only include Radler in gcovr output
parent
c6706e0c
No related branches found
Branches containing commit
No related tags found
1 merge request
!5
Only include Radler in gcovr output
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.common.yml
+11
-4
11 additions, 4 deletions
.gitlab-ci.common.yml
docker/ubuntu_22_04_base
+2
-2
2 additions, 2 deletions
docker/ubuntu_22_04_base
with
13 additions
and
6 deletions
.gitlab-ci.common.yml
+
11
−
4
View file @
c66785be
...
...
@@ -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
This diff is collapsed.
Click to expand it.
docker/ubuntu_22_04_base
+
2
−
2
View file @
c66785be
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment