Skip to content

Commit f8aef81

Browse files
authored
Merge branch 'main' into rework-driver2
2 parents 60c05da + 605050e commit f8aef81

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/CI.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,23 @@ jobs:
9494
run: tail -n +50 mink-test-server.log || true
9595
if: failure()
9696

97+
- name: Check Mink test server process
98+
run: |
99+
sleep 2
100+
pgrep -af 'php.*8002' || (echo "No PHP server running on 8002" && exit 1)
101+
netstat -tlnp || true
102+
shell: bash
103+
97104
- name: Wait for Mink test server to be ready
98105
run: |
99106
for i in {1..60}; do
100-
if curl -fsS http://127.0.0.1:8002/ >/dev/null; then
107+
if curl -fsS http://127.0.0.1:8002/ >/dev/null || curl -fsS http://localhost:8002/ >/dev/null; then
101108
echo "Mink test server is up"; exit 0;
102109
fi
103110
sleep 1;
104111
done
105112
echo "Mink test server did not become ready in time"; exit 1
113+
shell: bash
106114

107115
- name: PHPUnit (Mink driver testsuite)
108116
run: vendor/bin/phpunit --colors=always

0 commit comments

Comments
 (0)