Skip to content

Commit

Permalink
use mysql:8.0 and modify health check
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Jan 8, 2025
1 parent 72dc696 commit 659ab63
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,15 @@ jobs:

services:
mysql:
image: mysql/mysql-server:8.0
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: smartycards
MYSQL_USER: sail
MYSQL_PASSWORD: password
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -p password"
--health-interval=10s
--health-timeout=5s
--health-retries=3
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 659ab63

Please sign in to comment.