mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Fix health command for MariaDB
This commit is contained in:
parent
0b6be44fc0
commit
8c92a179ca
2
.github/workflows/mariadb.yml
vendored
2
.github/workflows/mariadb.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
# will assign a random free host port
|
||||
- 3309/tcp
|
||||
# needed because the container does not provide a healthcheck
|
||||
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
options: --health-cmd "mysql --user=root --password=$MYSQL_PASSWORD -e 'show databases;'" --health-interval 10s --health-timeout 5s --health-retries 5
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user