This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: output coverage report using xcov-danger SDKCF-1159 (#14)
- use Gemfile for dependencies - only call the fastlane coverage lane when running locally because on travis Danger will be run as a separate script command after fastlane - add vendor dir to excluded lint files because travis adds all its bundler dependencies to a vendor dir within the repo root
- Loading branch information
Showing
5 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ identifier_name: | |
excluded: | ||
- Pods | ||
- RemoteConfigPlayground.playground | ||
- vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Warn when there is a big PR | ||
warn("Big PR") if git.lines_of_code > 500 | ||
|
||
xcov.report( | ||
workspace: 'RRemoteConfig.xcworkspace', | ||
scheme: 'Tests', | ||
output_directory: 'artifacts/unit-tests/coverage', | ||
source_directory: 'RRemoteConfig', | ||
json_report: true, | ||
include_targets: 'RRemoteConfig.framework', | ||
include_test_targets: false, | ||
minimum_coverage_percentage: 70.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "cocoapods" | ||
gem "xcov" | ||
gem "jazzy" | ||
gem "danger" | ||
gem "danger-xcov" | ||
gem "xcode-install" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters