Skip to content

Commit 07ad011

Browse files
committed
Fixed CI
1 parent 93394e3 commit 07ad011

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.env.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ KERNEL_CLASS='App\Kernel'
33
APP_SECRET='$ecretf0rt3st'
44
SYMFONY_DEPRECATIONS_HELPER=999999
55

6-
DATABASE_URL="mysql://root:root@127.0.0.1:3306/qanightlyresults?serverVersion=8.0.23&charset=utf8mb4"
6+
DATABASE_URL="mysql://root:root@127.0.0.1:3306/mysql?serverVersion=8.0.23&charset=utf8mb4"
77
QANB_TOKEN='AZERTY'
88
QANB_REPORT_PATH='./tests/resources/'

.github/workflows/php.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,10 @@ jobs:
8282
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383

8484
- name: Setup MySQL
85-
uses: mirromutth/mysql-action@v1.1
85+
uses: shogo82148/actions-setup-mysql@v1
8686
with:
87-
mysql version: '8.0'
88-
mysql database: 'qanightlyresults'
89-
mysql root password: 'root'
87+
mysql-version: '8.0'
88+
root-password: 'root'
9089

9190
- uses: actions/checkout@v3
9291

@@ -96,9 +95,6 @@ jobs:
9695
- name: Composer Install
9796
run: composer install --ansi --prefer-dist --no-interaction --no-progress
9897

99-
- name: Change MySQL authentication method
100-
run: sleep 15 && mysql -h127.0.0.1 -uroot -proot -e "ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root'; FLUSH PRIVILEGES;"
101-
10298
- name: Setup database
10399
run: php bin/console doctrine:schema:update --dump-sql --force --env=test
104100

0 commit comments

Comments
 (0)