|
|
|
@ -15,7 +15,6 @@ jobs:
|
|
|
|
|
DRUPAL_DIR: /opt/drupal |
|
|
|
|
PHPUNIT_FILE: ${{ github.workspace }}/build_dir/phpunit.xml |
|
|
|
|
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://localhost:9515"]' |
|
|
|
|
CHROMEDRIVER_VERSION: 114.0.5735.90 |
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
@ -111,7 +110,8 @@ jobs:
|
|
|
|
|
- name: Start chromedriver |
|
|
|
|
if: matrix.test-suite == 'functional-javascript' |
|
|
|
|
run: |- |
|
|
|
|
curl -s -o ./chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip |
|
|
|
|
CHROMEDRIVER_URL=$(curl -s "https://googlechromelabs.github.io/chrome-for-testing/last-known-good-versions-with-downloads.json"| jq -r '.channels.Stable.downloads.chromedriver[]| select(.platform == "linux64") | .url') |
|
|
|
|
curl -s -o ./chromedriver_linux64.zip $CHROMEDRIVER_URL |
|
|
|
|
unzip chromedriver_linux64.zip |
|
|
|
|
./chromedriver \ |
|
|
|
|
--log-path=/tmp/chromedriver.log \ |
|
|
|
|