Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 committed Nov 30, 2024
1 parent 910fa68 commit 47f3bc1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/REUSABLE_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 || '' }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 47f3bc1

Please sign in to comment.