From 34aa2f29eda3beea6e46c6dce09c380d1ac6558c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 26 Jul 2021 21:26:22 +1000 Subject: [PATCH] Fixes for github actions --- .github/workflows/phpunit.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index e7063c5f376e..bbdd6e6c4211 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -49,6 +49,11 @@ jobs: MYSQL_ROOT_PASSWORD: ninja options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 + steps: + - name: Add hosts to /etc/hosts + run: | + sudo echo "127.0.0.1 ninja.test" | sudo tee -a /etc/hosts + steps: - name: Start mysql service run: |