Skip to content

Commit 10f43f4

Browse files
committed
ci: install darwin directly for a failure
1 parent 32e20a8 commit 10f43f4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/functional-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ jobs:
8888
- run: npm install -g appium
8989
- run: |
9090
appium plugin install images
91-
# for macOS env specific
92-
npm install -g --os=darwin --cpu=arm64 sharp
91+
# Install sharp in the images plugin's directory. This is a workaround
92+
cd ~/.appium/node_modules/@appium/images-plugin && npm install --no-package-lock --cpu=arm64 --os=darwin sharp
9393
appium plugin install execute-driver
9494
# Workaround to keep symlink to global appium
9595
appium driver install xcuitest
@@ -167,8 +167,6 @@ jobs:
167167
npm install -g mjpeg-consumer
168168
- run: |
169169
appium plugin install images
170-
# for macOS env specific
171-
npm install -g --os=darwin --cpu=arm64 sharp
172170
appium plugin install execute-driver
173171
# Workaround to keep symlink to global appium
174172
appium driver install xcuitest

0 commit comments

Comments
 (0)