Skip to content

Commit

Permalink
Fix mysql test config
Browse files Browse the repository at this point in the history
  • Loading branch information
sedubois authored and simi committed Apr 18, 2020
1 parent 6380118 commit 8c4688b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: sudo apt-get update
- run: sudo apt-get install libpq-dev postgresql-client -y
if: matrix.database == 'postgresql'
- run: sudo apt-get install libmysqlclient-dev -y
- run: sudo apt-get install libmysqlclient-dev mysql-client -y
if: matrix.database == 'mysql'
- run: sudo apt-get install libsqlite3-dev -y
if: matrix.database == 'sqlite3'
Expand Down Expand Up @@ -59,3 +59,9 @@ jobs:
ports: ["5432:5432"]
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

mysql:
image: mysql:5.7
ports: ["3306:3306"]
options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5
env:
MYSQL_ROOT_PASSWORD: root

0 comments on commit 8c4688b

Please sign in to comment.