Skip to content

Commit

Permalink
update health command
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Dec 30, 2023
1 parent 469406e commit b53a6f0
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,17 @@ jobs:
ports:
- 3306
env:
MYSQL_USER: dox
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: dox-framework
MYSQL_ROOT_PASSWORD: password
options: >-
--health-cmd="mysqladmin ping"
--health-interval=5s
--health-timeout=2s
--health-retries=3
--health-cmd="healthcheck.sh
--connect
--innodb_initialized"
--health-interval=10s
--health-timeout=5s
--health-retries=3
postgres:
image: postgres:latest
Expand Down Expand Up @@ -62,4 +64,4 @@ jobs:
- name: Run Test (query builder postgres)
run: melos test_query_builder_postgres
- name: Run Test (query builder mysql)
run: USER=dox melos test_query_builder_mysql
run: melos test_query_builder_mysql

0 comments on commit b53a6f0

Please sign in to comment.