Skip to content

Commit 8eda961

Browse files
committed
fix(ci): wait for mysql to be ready
1 parent 15410ca commit 8eda961

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/rspec-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ jobs:
4848
env:
4949
MYSQL_ROOT_PASSWORD: password
5050
MYSQL_DATABASE: sn_filterable_test
51+
options: >-
52+
--health-cmd "mysql health ping"
53+
--health-interval 10s
54+
--health-timeout 10s
55+
--health-retries 10
5156
5257
steps:
5358
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)