Skip to content

Commit

Permalink
Fix mysql jobs in CI build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Apr 11, 2020
1 parent 984dac7 commit f9a9e71
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
version: ${{ matrix.ruby }}
- uses: actions/checkout@v1
- run: sudo apt-get update && sudo apt-get install libpq-dev postgresql-client libmysqlclient-dev libsqlite3-dev -y
- run: sudo apt-get update && sudo apt-get install libpq-dev postgresql-client libmysqlclient-dev mysql-client libsqlite3-dev -y
- id: cache-bundler
uses: actions/cache@v1
with:
Expand Down Expand Up @@ -52,4 +52,9 @@ jobs:
image: postgres:11.5
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 f9a9e71

Please sign in to comment.