Skip to content

Commit 5b8d9cc

Browse files
adammathysforkata
authored andcommitted
Fix missing services
Co-authored-by: Chris Todorov <chris@super.gd>
1 parent daaa4f1 commit 5b8d9cc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,29 @@ jobs:
4747
rails-version: "8.0"
4848
- solidus-branch: "v4.4"
4949
rails-version: "8.0"
50+
services:
51+
postgres:
52+
image: postgres:16
53+
env:
54+
POSTGRES_HOST_AUTH_METHOD: trust
55+
options: >-
56+
--health-cmd="pg_isready"
57+
--health-interval=10s
58+
--health-timeout=5s
59+
--health-retries=5
60+
ports:
61+
- 5432:5432
62+
mysql:
63+
image: mysql:8
64+
env:
65+
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
66+
options: >-
67+
--health-cmd="mysqladmin ping"
68+
--health-interval=10s
69+
--health-timeout=5s
70+
--health-retries=5
71+
ports:
72+
- 3306:3306
5073
steps:
5174
- uses: actions/checkout@v4
5275
- name: Run extension tests

0 commit comments

Comments
 (0)