File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828 - name : List Installed Simulators
2929 run : xcrun simctl list devices available
30+ - name : Install jq
31+ run : brew install jq
3032
33+ - run : |
34+ ios_app=$(curl -s https://api.github.com/repos/AppiumTestDistribution/appium-flutter-server/releases/latest | jq -r '.assets[] | select(.name=="ios.zip") | .browser_download_url')
35+ echo "Downloading from: $ios_app"
36+ curl -LO "$ios_app"
37+ echo "APP_PATH=$(pwd)/ios.zip" >> $GITHUB_ENV
38+ name: Download sample iOS app
39+
3140 - name : Start iOS Simulator UI
3241 run : open -Fn "$(xcode-select --print-path)/Applications/Simulator.app"
3342
6675 xcrun simctl install $udid $PREBUILT_WDA_PATH
6776 xcrun simctl launch $udid "com.facebook.WebDriverAgentRunner.xctrunner"
6877 name: Install and launch WDA on Simulator
69-
70-
71- - run : |
72- release_info=$(curl -s https://api.github.com/repos/AppiumTestDistribution/appium-flutter-server/releases/latest)
73- asset_urls=$(echo "$release_info" | grep "browser_download_url" | cut -d '"' -f 4)
74- ios_app=$(echo "$asset_urls" | tail -n 1)
75- echo "$ios_app"
76- curl -LO "$ios_app"
77- echo "APP_PATH=$(pwd)/ios.zip" >> $GITHUB_ENV
78- name: Download sample iOS app
79-
78+
8079 - run : |
8180 mkdir -p appium-logs
8281 UDID=$udid APP_PATH=$APP_PATH npm run wdio-ios | tee appium-logs/logs.txt
You can’t perform that action at this time.
0 commit comments