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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
be3ad008
Commit
be3ad008
authored
Jul 21, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve simplecov config to avoid missing files
parent
47db7fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
spec/simplecov_env.rb
spec/simplecov_env.rb
+9
-1
No files found.
spec/simplecov_env.rb
View file @
be3ad008
require
'simplecov'
SimpleCov
.
configure
do
load_profile
:rails
load_profile
'test_frameworks'
track_files
'{app,lib}/**/*.rb'
if
ENV
[
'CI_BUILD_NAME'
]
coverage_dir
"coverage/
#{
ENV
[
'CI_BUILD_NAME'
]
}
"
...
...
@@ -17,7 +18,14 @@ SimpleCov.configure do
end
add_filter
'/vendor/ruby/'
add_filter
'config/initializers/'
add_group
'Controllers'
,
'app/controllers'
add_group
'Models'
,
'app/models'
add_group
'Mailers'
,
'app/mailers'
add_group
'Helpers'
,
'app/helpers'
add_group
'Workers'
,
%w(app/jobs app/workers)
add_group
'Libraries'
,
'lib'
add_group
'Services'
,
'app/services'
add_group
'Finders'
,
'app/finders'
add_group
'Uploaders'
,
'app/uploaders'
...
...
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