Skip to content
Snippets Groups Projects
Unverified Commit 27727250 authored by Nándor István Krácser's avatar Nándor István Krácser Committed by GitHub
Browse files

Merge pull request #1674 from dexidp/githubci-mysql

ci: add mysql service
parents d820fd45 8ab1ea93
Branches
Tags
No related merge requests found
...@@ -20,6 +20,15 @@ jobs: ...@@ -20,6 +20,15 @@ jobs:
- 5432 - 5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: dex
ports:
- 3306:3306
options: --health-cmd "mysql -proot -e \"show databases;\"" --health-interval 10s --health-timeout 5s --health-retries 5
etcd: etcd:
image: gcr.io/etcd-development/etcd:v3.2.9 image: gcr.io/etcd-development/etcd:v3.2.9
ports: ports:
...@@ -45,9 +54,6 @@ jobs: ...@@ -45,9 +54,6 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Setup MySQL database
run: mysql -u root -proot -e 'CREATE DATABASE dex;'
- name: Run tests - name: Run tests
run: make testall run: make testall
env: env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment