Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
document-storage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Wandelwerk-Software
libraries
document-storage
Commits
c94772be
Commit
c94772be
authored
3 years ago
by
Bruno Burke
Browse files
Options
Downloads
Patches
Plain Diff
add code coverage
parent
0d3a5278
No related branches found
No related tags found
1 merge request
!1
Draft: Migration
Pipeline
#95827
failed
3 years ago
Stage: build
Stage: test
Stage: visualize
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
c94772be
...
...
@@ -6,6 +6,7 @@ services:
stages
:
-
build
-
test
-
visualize
-
deploy
variables
:
...
...
@@ -29,6 +30,23 @@ test1:
stage
:
test
script
:
-
lein test
-
lein cloverage --lcov
artifacts
:
paths
:
-
target/coverage/lcov.info
coverage-jdk11
:
stage
:
visualize
image
:
python:3-slim
script
:
-
curl https://raw.githubusercontent.com/eriwen/lcov-to-cobertura-xml/master/lcov_cobertura/lcov_cobertura.py > lcov2cobertura.py
-
python lcov2cobertura.py target/coverage/lcov.info
needs
:
[
"
test1"
]
artifacts
:
reports
:
cobertura
:
./coverage.xml
deploy
:
stage
:
deploy
...
...
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