File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments