Browse Source

this can;t be it

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

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

@ -18,6 +18,8 @@ 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"
DRUPAL_VERSION: ${{ matrix.drupal-version }}
SCRIPT_DIR: ${{ github.workspace }}/islandora_ci
DRUPAL_DIR: /opt/drupal
@ -124,6 +126,10 @@ jobs:
- name: PHPUNIT tests
run: |
cd $DRUPAL_DIR
./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