Skip to content

Commit

Permalink
fix: add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dolcalmi committed Dec 10, 2024
1 parent 0d776b3 commit 256da60
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency:

jobs:
e2e-test:
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v4

Expand All @@ -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)
Expand All @@ -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: |
Expand Down

0 comments on commit 256da60

Please sign in to comment.