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: |