Fix threading issue in IPC connection #163
Workflow file for this run
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: CI | |
on: [pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ios: "16.2" | |
os: "macos-latest" | |
xcode: "14.2" | |
name: Run UI Test on iOS ${{ matrix.ios }} | |
runs-on: ${{ matrix.os }} | |
env: | |
platform: ${{ 'iOS Simulator' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install required tools | |
run: | | |
brew update | |
brew install xcodegen | |
- name: Select Xcode version ${{ matrix.xcode }} | |
run: | | |
sudo xcversion installed | |
sudo xcversion select ${{ matrix.xcode }} | |
- name: Generate project | |
run: | | |
cd Example | |
xcodegen | |
- name: Build App | |
run: | | |
Scripts/run_build.rb | |
- name: Run UI Tests | |
run: | | |
Scripts/run_uitests.rb | |
- name: Collect UI Tests artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SBTUITestTunnel_Tests_iOS_${{ matrix.ios }}.xcresult | |
path: SBTUITestTunnel_Tests.xcresult | |
if: success() || failure() | |
- name: Run no swizzling UI Tests | |
run: | | |
Scripts/run_uitests_no_swizzling.rb | |
- name: Collect no swizzling UI Tests artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SBTUITestTunnel_TestsNoSwizzling_iOS_${{ matrix.ios }}.xcresult | |
path: SBTUITestTunnel_TestsNoSwizzling.xcresult | |
if: success() || failure() |