diff --git a/.env.ci b/.env.ci index 857f7af..bc31893 100644 --- a/.env.ci +++ b/.env.ci @@ -9,8 +9,8 @@ LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug DB_CONNECTION=mysql -DB_HOST=mysql -DB_PORT=3306 +DB_HOST=127.0.0.1 +DB_PORT=33306 DB_DATABASE=testing DB_USERNAME=user DB_PASSWORD=password diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7803c49..1894ee0 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,9 @@ jobs: MYSQL_USER: user MYSQL_PASSWORD: password MYSQL_ROOT_PASSWORD: password - options: --health-cmd="mysql -u user -D testing -ppassword -h mysql -e ''" --health-interval=10s --health-timeout=5s --health-retries=3 + ports: + - 33306:3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - name: Checkout