Skip to content

Commit

Permalink
fix mariadb healthcheck for pytests
Browse files Browse the repository at this point in the history
fix healthcheck for the mariadb in the workflow for pytests

https://mariadb.com/kb/en/using-healthcheck-sh/
  • Loading branch information
zeromind committed May 23, 2024
1 parent 5e4f03e commit 9b7fe70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
MARIADB_PASSWORD: dim
MARIADB_DATABASE: dim
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: 'yes'
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
options: '--health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=5s --health-timeout=2s --health-retries=4'
steps:
- name: Install dependencies
run: /bin/dnf install --assumeyes gcc python39-devel mariadb-devel git python39 make tar gzip
Expand Down

0 comments on commit 9b7fe70

Please sign in to comment.