Skip to content

Commit aa70a1d

Browse files
committed
Added slather for generating coverage report
1 parent 78eddd9 commit aa70a1d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
- name: Upload codecov results
4646
uses: codecov/codecov-action@v3
4747
with:
48-
files: ./fastlane/test_output/report.html
48+
files: ./fastlane/test_output/cobertura.xml

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
33
gem 'cocoapods', '~> 1.9'
44
gem 'fastlane', '~> 2.69'
55
gem 'pattern_patch', '~> 0.5'
6+
gem 'slather'
67

78
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
89
eval_gemfile(plugins_path) if File.exist?(plugins_path)

fastlane/Fastfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
)
1825
end
1926

2027
lane :integration_tests do

0 commit comments

Comments
 (0)