File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
sonar.sources =./Sources
2
- sonar.coverageReportPaths =./artifacts/coverage/sonarqube-generic-coverage.xml
3
2
sonar.exclusions =./Tests
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ gem "danger"
6
6
gem "danger-xcov"
7
7
gem "xcode-install"
8
8
gem "jazzy"
9
+ gem "slather"
Original file line number Diff line number Diff line change @@ -35,9 +35,15 @@ platform :ios do
35
35
36
36
desc "Generate code coverage"
37
37
lane :coverage do |options |
38
- Dir . chdir ( ".." ) do
39
- sh ( "bundle exec danger dry_run" )
40
- end
38
+ slather (
39
+ output_directory : './artifacts/coverage' ,
40
+ scheme : ENV [ 'REM_FL_TESTS_SCHEME' ] || 'Tests' ,
41
+ sonarqube_xml : true ,
42
+ use_bundle_exec : true ,
43
+ proj : ENV [ 'REM_FL_TESTS_PROJECT' ] ,
44
+ workspace : ENV [ 'REM_FL_TESTS_WORKSPACE' ] ,
45
+ binary_basename : ENV [ 'REM_FL_TESTS_SLATHER_BASENAME' ] ,
46
+ ignore : '*.{h,m}' )
41
47
end
42
48
end
43
49
# vim:syntax=ruby:et:sts=2:sw=2:ts=2:ff=unix:
You can’t perform that action at this time.
0 commit comments