Skip to content

Commit

Permalink
[ci] Ensure that github action install x86_64 version of webdriver
Browse files Browse the repository at this point in the history
Also do some warm up by starting and stopping webdriver one time
before running the tests
  • Loading branch information
Jani Hautakangas committed Mar 18, 2024
1 parent c9c77b5 commit 91e0f1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/run-webdriver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ jobs:
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
adb install webdriver-latest.apk
adb install --abi x86_64 webdriver-latest.apk
adb shell am start -W -n com.wpe.webdriver/.WebDriverActivity
sleep 5
adb shell am force-stop com.wpe.webdriver
python3 -m venv .venv
. .venv/bin/activate
pip install -r tools/scripts/webkitpy/requirements.txt
Expand Down

0 comments on commit 91e0f1e

Please sign in to comment.