File tree Expand file tree Collapse file tree 4 files changed +16
-1
lines changed
Expand file tree Collapse file tree 4 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 4141 with :
4242 name : test-results
4343 path : fastlane/test_output
44+ - name : Upload codecov results
45+ uses : codecov/codecov-action@v3
46+ with :
47+ files : ./fastlane/test_output/cobertura.xml
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ source 'https://rubygems.org'
33gem 'cocoapods' , '~> 1.9'
44gem 'fastlane' , '~> 2.69'
55gem 'pattern_patch' , '~> 0.5'
6+ gem 'slather'
67
78plugins_path = File . join ( File . dirname ( __FILE__ ) , 'fastlane' , 'Pluginfile' )
89eval_gemfile ( plugins_path ) if File . exist? ( plugins_path )
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ lane :unit_tests do
1515 prepare_pods
1616 # This testplan only runs unit tests for PR verification.
1717 scan scheme : 'Branch-TestBed-CI'
18+ slather (
19+ cobertura_xml : true ,
20+ output_directory : "./fastlane/test_output" ,
21+ proj : "./Branch-TestBed/Branch-TestBed.xcodeproj" ,
22+ workspace : "./Branch-TestBed/Branch-TestBed.xcworkspace" ,
23+ scheme : "Branch-TestBed-CI"
24+ )
1825end
1926
2027lane :integration_tests do
Original file line number Diff line number Diff line change 11workspace 'Branch-TestBed/Branch-TestBed.xcworkspace'
22device 'iPhone 12'
3- output_types 'junit'
3+ output_types 'junit,html'
4+ code_coverage true
5+ clean true
6+ output_directory 'fastlane/test_output/'
You can’t perform that action at this time.
0 commit comments