Skip to content

Commit

Permalink
Merge pull request #29 from afinch7/fix_actions
Browse files Browse the repository at this point in the history
fix github actions
  • Loading branch information
manyuanrong authored Jul 28, 2020
2 parents 46bfad5 + 22c8651 commit c37ed19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
mysql:
image: mysql:8.0.21
ports:
- 3306
- 3306:3306
env:
MYSQL_ALLOW_EMPTY_PASSWORD: true
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_ROOT_PASSWORD: ""
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "3.2"

services:
mysql:
image: mysql:8.0.21
ports:
- 3306:3306
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_ROOT_PASSWORD: ""

0 comments on commit c37ed19

Please sign in to comment.