Skip to content

Commit 1ba3638

Browse files
authored
ci: workaround to keep symlink in xcuitest driver's appium (#638)
1 parent 795ba29 commit 1ba3638

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/functional-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/checkout@v3
6161

6262
- name: Install Node.js
63-
uses: actions/setup-node@v3
63+
uses: actions/setup-node@v5
6464
with:
6565
node-version: 'lts/*'
6666

@@ -79,9 +79,10 @@ jobs:
7979
# Start Appium
8080
- run: npm install -g appium
8181
- run: |
82-
appium driver install xcuitest
8382
appium plugin install images
8483
appium plugin install execute-driver
84+
# Workaround to keep symlink to global appium
85+
appium driver install xcuitest
8586
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
8687
8788
- run: |
@@ -155,13 +156,14 @@ jobs:
155156
npm install -g appium
156157
npm install -g mjpeg-consumer
157158
- run: |
158-
appium driver install xcuitest
159159
appium plugin install images
160160
appium plugin install execute-driver
161+
# Workaround to keep symlink to global appium
162+
appium driver install xcuitest
161163
nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors 2>&1 > appium.log &
162164
163165
- run: |
164-
appium driver run xcuitest download-wda-sim --platform=ios --outdir=${{github.workspace}}/wda
166+
npx appium driver run xcuitest download-wda-sim --platform=ios --outdir=${{github.workspace}}/wda
165167
name: Downloading prebuilt WDA
166168
167169
- name: Set up Ruby

0 commit comments

Comments
 (0)