Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
10da3ddd
Commit
10da3ddd
authored
Jan 08, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix coverage artifact dir to not include '/'
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
8253a430
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/simplecov_env.rb
spec/simplecov_env.rb
+4
-2
No files found.
spec/simplecov_env.rb
View file @
10da3ddd
require
'simplecov'
require
'active_support/core_ext/numeric/time'
require_relative
'../lib/gitlab/utils'
module
SimpleCovEnv
extend
self
...
...
@@ -16,8 +17,9 @@ module SimpleCovEnv
def
configure_job
SimpleCov
.
configure
do
if
ENV
[
'CI_JOB_NAME'
]
coverage_dir
"coverage/
#{
ENV
[
'CI_JOB_NAME'
]
}
"
command_name
ENV
[
'CI_JOB_NAME'
]
job_name
=
Gitlab
::
Utils
.
slugify
(
ENV
[
'CI_JOB_NAME'
])
coverage_dir
"coverage/
#{
job_name
}
"
command_name
job_name
end
if
ENV
[
'CI'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment