Browse Source

SIMPLETEST_BASE_URL

pull/1013/head
Joe Corall 11 months ago committed by GitHub
parent
commit
3fa301037f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      .github/workflows/build-2.x.yml

9
.github/workflows/build-2.x.yml

@ -18,8 +18,7 @@ jobs:
# This workflow contains a single job called "build"
build:
env:
SIMPLETEST_BASE_URL: http://127.0.0.1:8283
SIMPLETEST_DB: "sqlite://drupal:drupal@127.0.0.1/drupal"
SIMPLETEST_BASE_URL: http://host.docker.internal:8282
DRUPAL_VERSION: ${{ matrix.drupal-version }}
SCRIPT_DIR: ${{ github.workspace }}/islandora_ci
DRUPAL_DIR: /opt/drupal
@ -62,6 +61,7 @@ jobs:
image: selenium/standalone-firefox:3.141
ports:
- 4444:4444
options: --add-host=host.docker.internal:host-gateway
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@ -126,11 +126,6 @@ jobs:
- name: PHPUNIT tests
run: |
cd $DRUPAL_DIR
cp web/sites/default/default.settings.php web/sites/default/settings.php
./vendor/bin/drush si --db-url=sqlite://drupal:drupal@127.0.0.1:3306/drupal --yes
./vendor/bin/drush runserver 127.0.0.1:8283 &
until curl -s 127.0.0.1:8283; do true; done > /dev/null
cd $DRUPAL_DIR/web/core
$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite "${{ matrix.test-suite }}"
if [ "${{ matrix.test-suite }}" = "functional-javascript" ]; then

Loading…
Cancel
Save