Skip to content

Commit ef45c85

Browse files
authored
Fix tests
1 parent 2fcdf8f commit ef45c85

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,16 @@ jobs:
3636
tags: php-fpm-nginx-wordpress:ci
3737
load: true
3838

39-
- name: Start
40-
run: docker run -d --rm --name test -p 10000:80 php-fpm-nginx-wordpress:ci
39+
- name: Start Container with Health Check
40+
run: |
41+
docker run -d --rm \
42+
--name test \
43+
-p 10000:80 \
44+
--health-cmd "/usr/local/bin/healthcheck.sh" \
45+
--health-interval=30s \
46+
--health-timeout=30s \
47+
--health-start-period=60s \
48+
php-fpm-nginx-wordpress:ci
4149
4250
- name: Wait for container
4351
timeout-minutes: 1

0 commit comments

Comments
 (0)