Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99c3ec6 commit 8ab1ea9Copy full SHA for 8ab1ea9
1 file changed
.github/workflows/ci.yml
@@ -20,6 +20,15 @@ jobs:
20
- 5432
21
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
22
23
+ mysql:
24
+ image: mysql:5.7
25
+ env:
26
+ MYSQL_ROOT_PASSWORD: root
27
+ MYSQL_DATABASE: dex
28
+ ports:
29
+ - 3306:3306
30
+ options: --health-cmd "mysql -proot -e \"show databases;\"" --health-interval 10s --health-timeout 5s --health-retries 5
31
+
32
etcd:
33
image: gcr.io/etcd-development/etcd:v3.2.9
34
ports:
@@ -45,9 +54,6 @@ jobs:
45
54
- name: Checkout code
46
55
uses: actions/checkout@v2
47
56
48
- - name: Setup MySQL database
49
- run: mysql -u root -proot -e 'CREATE DATABASE dex;'
50
-
51
57
- name: Run tests
52
58
run: make testall
53
59
env:
0 commit comments