Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpage committed Nov 5, 2024
1 parent 1362002 commit f445324
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .circleci/fastlane/Fastfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

$git_pr_api = "https://api.github.com/repos/%s/SalesforceMobileSDK-iOS/pulls/%s/files"
$schemes = ['SalesforceSDKCommon', 'SalesforceAnalytics', 'SalesforceSDKCore', 'SmartStore', 'MobileSync']
ENV['DEVICE'] = 'iPhone-SE-3rd-generation' unless ENV.has_key?('DEVICE')
Expand Down Expand Up @@ -86,7 +85,7 @@ def test_scheme(scheme)
system('xcrun simctl delete test_device') or true
sim_id = `xcrun simctl create test_device com.apple.CoreSimulator.SimDeviceType.#{device} com.apple.CoreSimulator.SimRuntime.iOS-#{ios_code}`.delete("\n")
ios_version = `xcrun xctrace list devices | grep test_device | awk -F"[()]" '{print $2}'`.delete("\n")

if (ios_version.empty?)
UI.user_error!('Invalid Test Device.')
end
Expand Down
7 changes: 6 additions & 1 deletion .github/DangerFiles/TestResults.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
xcode_summary.ignores_warnings = true
xcode_summary.inline_mode = true
xcode_summary.report '../../test.xcresult'

if File.exist?('../../test.xcresult')
xcode_summary.report '../../test.xcresult'
else
fail "No test results found."
end
2 changes: 1 addition & 1 deletion .github/workflows/reusable-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
platform-version: ${{ inputs.ios }}
workspace: SalesforceMobileSDK.xcworkspace
scheme: ${{ inputs.lib }}
code-coverage: ${{ github.event_name == 'pull_request' }}
code-coverage: true
upload-logs: always
- name: Danger Test Results
if: (github.event_name == 'pull_request') && failure()
Expand Down

0 comments on commit f445324

Please sign in to comment.