Skip to content
Permalink
Browse files

Code coverage (#28)

* enable code cov in xcode
  • Loading branch information...
Edge-Man committed Mar 21, 2019
1 parent 89788fc commit 46b31da421ce49ecb8148db060ca10722e86db9f
@@ -13,6 +13,7 @@ steps:
LANG: "en_US.UTF-8"
artifact_paths:
- "build/reports/junit.xml"
- "code_coverage_report/*"
- wait
- command: "echo 'Success!!'"
label: ":trophy: Success"
@@ -40,6 +40,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
@@ -26,6 +26,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
codeCoverageEnabled = "YES"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
@@ -1,4 +1,5 @@
source "https://rubygems.org"

gem 'cocoapods', '1.5.3'
gem "fastlane"
gem 'fastlane', '~> 2.118', '>= 2.118.1'
gem 'xcov', '~> 1.5'
@@ -110,6 +110,12 @@ lane :tests do
run_tests(scheme: "EosioSwiftTests",
devices: ["iPhone 5s"],
xcpretty_args:"--report junit")

xcov(
scheme: "EosioSwiftTests",
output_directory: "code_coverage_report",
json_report: true
)
end


0 comments on commit 46b31da

Please sign in to comment.
You can’t perform that action at this time.