Skip to content

Commit

Permalink
fix: Fix test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Mar 25, 2024
1 parent 121b566 commit c4010a3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
MYSQL_ROOT_PASSWORD: uvlhub_root_password
MYSQL_DATABASE: uvlhubdb_test
ports:
- 3305:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -h localhost"
--health-interval=10s
--health-timeout=10s
--health-retries=6
steps:
- uses: actions/checkout@v4
Expand All @@ -42,7 +46,7 @@ jobs:
- name: Run Tests
env:
FLASK_ENV: testing
MARIADB_HOSTNAME: 127.0.0.1
MARIADB_HOSTNAME: mariadb
MARIADB_PORT: 3306
MARIADB_DATABASE: uvlhubdb_test
MARIADB_USER: uvlhub_user
Expand Down

0 comments on commit c4010a3

Please sign in to comment.