feat: bump the minimal appium_lib version and modify the upper #24
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: Run example | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: macos-11 | |
env: | |
PLATFORM_VERSION: '15.2' | |
XCODE_VERSION: '13.2' | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ env.XCODE_VERSION }} | |
- run: xcrun simctl list | |
- name: Set up Appium env | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
check-latest: true | |
- name: Install Appium XCUITest | |
run: | | |
npm install -g appium@next | |
appium driver install xcuitest | |
- name: run Appium background | |
run: | | |
nohup appium --base-path=/wd/hub --log-timestamp --log-no-colors > appium.out 2>&1 & | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # v1.115.3 | |
with: | |
ruby-version: 3.1 | |
bundler-cache: true | |
- name: Run example | |
run: | | |
cd example | |
bundle install | |
bundle exec rspec spec/ios_example_spec.rb | |
- name: Upload appium.out | |
uses: actions/[email protected] | |
if: failure() | |
with: | |
path: appium.out | |