diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90205ffba..cf310d9d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,6 +70,13 @@ jobs: run: | sudo apt-get update sudo apt-get install sendmail + # Temp thing + - name: Downgrade chrome + run: | + curl -L -o chrome.deb http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_127.0.6533.119-1_amd64.deb + sudo apt-get install libu2f-udev + sudo dpkg -i chrome.deb + google-chrome-stable --version - name: Setup Drupal run: | COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }} ~/drupal --no-interaction --no-install @@ -169,15 +176,18 @@ jobs: git apply 457.diff git apply 458.diff - uses: nanasess/setup-chromedriver@master + with: + # temporary to match downgraded chrome + chromedriver-version: '127.0.6533.119' - name: Run chromedriver - run: chromedriver & + run: chromedriver --port=9515 & - name: Run php built-in server run: php -S 127.0.0.1:8080 -t ~/drupal/web & - name: Run PHPUnit run: | mkdir -p $BROWSERTEST_OUTPUT_DIRECTORY cd ~/drupal/web - ../vendor/bin/phpunit -c core modules/contrib/webform_civicrm + ../vendor/bin/phpunit --verbose -c core modules/contrib/webform_civicrm env: SYMFONY_DEPRECATIONS_HELPER: 999999 SIMPLETEST_DB: mysql://root:@127.0.0.1:${{ job.services.mysql.ports[3306] }}/db