Browse Source

use host.docker.internal

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

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

@ -61,7 +61,7 @@ jobs:
ports:
- 4444:4444
# selenium needs to access drupal running on the host
options: --add-host=localhost:host-gateway
options: --add-host=host.docker.internal:host-gateway
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@ -124,6 +124,9 @@ jobs:
- name: Test scripts
run: $SCRIPT_DIR/travis_scripts.sh
- name: Add hosts to /etc/hosts
run: |
echo "127.0.0.1 host.docker.internal" | sudo tee -a /etc/hosts
- name: PHPUNIT tests
run: |
set -eou pipefail

Loading…
Cancel
Save