Merge eventLogger branch with master #145
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
name: Build and Test | |
on: | |
pull_request_target: | |
permissions: | |
checks: write | |
jobs: | |
build-test: | |
runs-on: macOS-12 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
- run: | | |
bundle install | |
bundle exec pod install | |
xcodebuild \ | |
-workspace RSDKUtils.xcworkspace \ | |
-scheme TestHost \ | |
-resultBundlePath artifacts/unit-tests/Tests \ | |
-destination "platform=iOS Simulator,name=iPhone 11" \ | |
test | |
- uses: kishikawakatsumi/xcresulttool@v1 | |
with: | |
path: | | |
artifacts/unit-tests/Tests.xcresult | |
upload-bundles: false | |
if: success() || failure() |