We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f6f3e commit 68a0c7dCopy full SHA for 68a0c7d
.github/workflows/ruby.yml
@@ -10,6 +10,18 @@ jobs:
10
tests:
11
runs-on: ubuntu-latest
12
services:
13
+ mysql:
14
+ image: mysql
15
+ env:
16
+ MYSQL_ROOT_PASSWORD: root
17
+ MYSQL_DATABASE: test
18
+ ports:
19
+ - 3306:3306
20
+ options: >-
21
+ --health-cmd "mysqladmin ping"
22
+ --health-interval 10s
23
+ --health-timeout 5s
24
+ --health-retries 5
25
postgres:
26
image: postgres
27
env:
@@ -35,6 +47,7 @@ jobs:
35
47
- 5.2.4.4
36
48
- 5.1.7
37
49
database_url:
50
+ - mysql2://root:root@127.0.0.1:3306/test
38
51
- postgresql://postgres:password@localhost:5432/test
39
52
- sqlite3:test_db
40
53
exclude:
@@ -59,4 +72,4 @@ jobs:
59
72
- name: Install dependencies
60
73
run: bundle install --jobs 4 --retry 3
61
74
- name: Run tests
62
- run: bundle exec rake test
75
+ run: bundle exec rake test
0 commit comments