diff --git a/.github/workflows/REUSABLE_backend.yml b/.github/workflows/REUSABLE_backend.yml index 21417a791d..4f8187a07f 100644 --- a/.github/workflows/REUSABLE_backend.yml +++ b/.github/workflows/REUSABLE_backend.yml @@ -161,7 +161,7 @@ jobs: MYSQL_PASSWORD: ${{ env.DB_PASSWORD }} MYSQL_ROOT_PASSWORD: root ports: - - 3306 + - 13306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10 postgres: image: ${{ matrix.driver == 'pgsql' && matrix.service || '' }} @@ -198,18 +198,17 @@ jobs: - name: mysql version 1 if: ${{ matrix.driver == 'mysql' || matrix.driver == 'mariadb' }} run: | - mysql --version - mysql --port 3306 -uroot -ppassword -e "SELECT @@VERSION" + mysql --port 13306 -uroot -ppassword -e "SELECT @@VERSION" - name: Create ${{ matrix.db }} Database if: ${{ matrix.driver == 'mysql' || matrix.driver == 'mariadb' }} run: | sudo systemctl start mysql - mysql -uroot -proot -e 'CREATE DATABASE flarum_test;' --port 3306 + mysql -uroot -proot -e 'CREATE DATABASE flarum_test;' --port 13306 - name: mysql version 2 if: ${{ matrix.driver == 'mysql' || matrix.driver == 'mariadb' }} - run: mysql --port 3306 -uroot -ppassword -e "SELECT @@VERSION" + run: mysql --port 13306 -uroot -ppassword -e "SELECT @@VERSION" - name: Install Composer dependencies run: composer install