From 86a799f65c54fb1e45fcde4d6f341597437b05d0 Mon Sep 17 00:00:00 2001 From: Lacey-Anne Sanderson Date: Wed, 8 Nov 2023 11:49:03 -0600 Subject: [PATCH] Update paths to match changes in Tripal PR #1681 --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index e5b8e0f..5004ee9 100644 --- a/action.yml +++ b/action.yml @@ -65,7 +65,7 @@ runs: shell: bash run: | docker run --publish=80:80 --name=tripaldocker -tid \ - --volume=`pwd`:/var/www/drupal9/web/modules/contrib/${{ inputs.directory-name }} testing:localdocker + --volume=`pwd`:/var/www/drupal/web/modules/contrib/${{ inputs.directory-name }} testing:localdocker # Install the modules - name: Install our package in Docker if: "${{ inputs.modules != '' }}" @@ -78,12 +78,12 @@ runs: shell: bash env: SIMPLETEST_BASE_URL: "http://localhost" - SIMPLETEST_DB: "pgsql://drupaladmin:drupal9developmentonlylocal@localhost/sitedb" - BROWSER_OUTPUT_DIRECTORY: "/var/www/drupal9/web/sites/default/files/simpletest" + SIMPLETEST_DB: "pgsql://drupaladmin:drupaldevelopmentonlylocal@localhost/sitedb" + BROWSER_OUTPUT_DIRECTORY: "/var/www/drupal/web/sites/default/files/simpletest" run: | docker exec tripaldocker service postgresql restart docker exec -e SIMPLETEST_BASE_URL=$SIMPLETEST_BASE_URL \ -e SIMPLETEST_DB=$SIMPLETEST_DB \ -e BROWSER_OUTPUT_DIRECTORY=$BROWSER_OUTPUT_DIRECTORY \ - --workdir=/var/www/drupal9/web/modules/contrib/${{ inputs.directory-name }} \ + --workdir=/var/www/drupal/web/modules/contrib/${{ inputs.directory-name }} \ tripaldocker phpunit ${{ inputs.phpunit-command-options }}