Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ILCDIRAC
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
CLICdp
iLCDirac
ILCDIRAC
Merge requests
!361
Sweeping
!357
from Rel-v29r2 to Rel-v30r0. [v29r2] CI: add coverage report
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Sweeping
!357
from Rel-v29r2 to Rel-v30r0. [v29r2] CI: add coverage report
cherry-pick-2-c13eee97-Rel-v30r0
into
Rel-v30r0
Overview
1
Commits
1
Pipelines
2
Changes
4
Merged
Ghost User
requested to merge
cherry-pick-2-c13eee97-Rel-v30r0
into
Rel-v30r0
3 years ago
Overview
1
Commits
1
Pipelines
2
Changes
4
Expand
[v29r2] CI: add coverage report
See merge request
!357 (merged)
👍
0
👎
0
Merge request reports
Compare
Rel-v30r0
version 1
e80b1cdf
3 years ago
Rel-v30r0 (base)
and
latest version
latest version
7074a381
1 commit,
3 years ago
version 1
e80b1cdf
1 commit,
3 years ago
4 files
+
15
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.d/run-cvmfstests.sh
+
8
−
4
Options
@@ -3,7 +3,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source
.gitlab-ci.d/set-reportstyle.sh
export
COVERAGE_PROCESS_START
=
$DIR
/../.coveragerc
export
PYTEST_ADDOPTS
=
"
${
PYTEST_ADDOPTS
}
--cov-append --junitxml=junit_job.xml"
pytest
-n
2
--randomly-dont-reorganize
$DIR
/../Tests/Integration/Test_Jobs.py
&&
\
coverage combine
--append
tmp
*
/
*
/.coverage
*
&&
\
coverage report
-i
&&
\
coverage html
-i
pytest
-n
2
--randomly-dont-reorganize
$DIR
/../Tests/Integration/Test_Jobs.py
testResult
=
$?
coverage combine
--append
tmp
*
/
*
/.coverage
*
coverage report
-i
coverage xml
-i
-o
coverage.xml
coverage html
-i
sed
-i
"s@installation/ILCDIRAC/@@g"
coverage.xml
exit
${
testResult
}
Loading