Skip to content

Commit

Permalink
Use system mysql instead of docker (#17677)
Browse files Browse the repository at this point in the history
Use system mysql instead of docker

Co-authored-by: ADmad <ADmad@users.noreply.github.com>
  • Loading branch information
markstory and ADmad committed May 4, 2024
1 parent d9f11e6 commit 27ef3b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -45,9 +45,11 @@ jobs:
- 11211/tcp

steps:
- name: Setup MySQL latest
- name: Setup MySQL 8.0
if: matrix.db-type == 'mysql'
run: docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=cakephp -p 3306:3306 -d mysql --default-authentication-plugin=mysql_native_password --disable-log-bin
run: |
sudo service mysql start
mysql -h 127.0.0.1 -u root -proot -e 'CREATE DATABASE cakephp;'
- name: Setup PostgreSQL latest
if: matrix.db-type == 'pgsql'
Expand Down

0 comments on commit 27ef3b0

Please sign in to comment.