Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
C++ project
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
ASTRON Templates
C++ project
Commits
6124c1b7
Commit
6124c1b7
authored
2 months ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Fix coverage reporting
parent
da106f92
Branches
Branches containing commit
No related tags found
1 merge request
!12
Fix coverage reporting
Pipeline
#114862
waiting for manual action
Stage: prepare
Stage: linting
Stage: test
Stage: build
Stage: publish
Pipeline: C++ project
#114863
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
{{cookiecutter.project_slug}}/.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
{{cookiecutter.project_slug}}/.gitlab-ci.yml
with
1 addition
and
0 deletions
{{cookiecutter.project_slug}}/.gitlab-ci.yml
+
1
−
0
View file @
6124c1b7
...
...
@@ -76,6 +76,7 @@ test:
-
mkdir coverage
-
gcovr -r .. -e ../test/ -e ../src/main.cpp --txt --xml coverage.xml --html-details coverage/coverage.html
-
tar cfz coverage.tar.gz coverage/
coverage
:
'
/TOTAL.*?\
([0-9\.]{1,}\%).*$/'
artifacts
:
paths
:
# This will give a warning which is ok
...
...
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