Skip to content

Commit 4ecd68d

Browse files
author
Thomas Taschauer
committed
fix test action
1 parent 8c242f0 commit 4ecd68d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ios_main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
name: test
2929
runs-on: macos-latest
3030
steps:
31+
# start simulator as early as possible in order to give it enough time to boot
32+
- name: simulator
33+
run: $(xcode-select --print-path)$(echo /Applications/Simulator.app/Contents/MacOS/Simulator) --args -CurrentDeviceUDID $(xcrun instruments -s | grep -Eo "iPhone 8 .*" | grep -Eo "\[.*\]" | sed "s/^\[\(.*\)\]$/\1/") &
34+
3135
- uses: actions/checkout@v1
3236
- name: Checkout submodule
3337
run: git submodule update --init --recursive
@@ -47,7 +51,5 @@ jobs:
4751
- name: fastlane
4852
run: bundle install
4953

50-
- name: simulator
51-
run: $(xcode-select --print-path)$(echo /Applications/Simulator.app/Contents/MacOS/Simulator) --args -CurrentDeviceUDID $(xcrun instruments -s | grep -Eo "iPhone 8 .*" | grep -Eo "\[.*\]" | sed "s/^\[\(.*\)\]$/\1/") &
52-
- name: run tests
54+
- name: run tests
5355
run: bundle exec fastlane tests

0 commit comments

Comments
 (0)