diff --git a/.github/workflows/REUSABLE_backend.yml b/.github/workflows/REUSABLE_backend.yml index 629ad1fbb2..4968dfa01a 100644 --- a/.github/workflows/REUSABLE_backend.yml +++ b/.github/workflows/REUSABLE_backend.yml @@ -162,6 +162,7 @@ jobs: MYSQL_ROOT_PASSWORD: ${{ env.DB_PASSWORD }} ports: - 13306:3306 + options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10 postgres: image: ${{ matrix.driver == 'pgsql' && matrix.service || '' }} env: @@ -196,7 +197,7 @@ jobs: - name: mysql version 1 if: ${{ matrix.driver == 'mysql' || matrix.driver == 'mariadb' }} - run: mysql --host 127.0.0.1 --port 13306 -uroot -ppassword -e "SELECT @@VERSION" + run: mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "SELECT @@VERSION" - name: Create ${{ matrix.db }} Database if: ${{ matrix.driver == 'mysql' || matrix.driver == 'mariadb' }}