diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml index e2d0dde0fd..49f73469ce 100644 --- a/.github/workflows/e2e-ios.yml +++ b/.github/workflows/e2e-ios.yml @@ -10,7 +10,7 @@ concurrency: jobs: e2e-test: - runs-on: macos-latest + runs-on: macos-13 steps: - uses: actions/checkout@v4 @@ -23,6 +23,15 @@ jobs: - name: List available simulators run: xcrun simctl list devices available + - name: Set up Docker + uses: douglascamata/setup-docker-macos-action@v1-alpha + + - name: Install dependencies + run: nix develop -c yarn install + + - name: Build E2E tests + run: nix develop -c yarn e2e:build ios.sim.debug + - name: Create iOS Simulator run: | DEVICE_ID=$(xcrun simctl create "iPhone SE (3rd generation)" com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation com.apple.CoreSimulator.SimRuntime.iOS-18-1) @@ -31,12 +40,6 @@ jobs: - name: Boot Simulator run: xcrun simctl boot $DEVICE_ID - - name: Install dependencies - run: nix develop -c yarn install - - - name: Build E2E tests - run: nix develop -c yarn e2e:build ios.sim.debug - - name: Start Metro, Tilt, Emulator, and run tests id: run-tests run: |