File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,6 +105,15 @@ jobs:
105105 -v $GITHUB_WORKSPACE/Caddyfile:/etc/frankenphp/Caddyfile \
106106 frankenphp-${{ matrix.php }}
107107
108+ - name : Wait for FrankenPHP to be ready
109+ run : |
110+ for i in $(seq 1 30); do
111+ curl -s -o /dev/null http://localhost:8100 && echo "Server is up" && exit 0
112+ echo "Waiting... ($i/30)"
113+ sleep 2
114+ done
115+ echo "Server did not start in time" && exit 1
116+
108117 - name : Install WordPress
109118 run : |
110119 rm -f /tmp/wp/wp-config.php
Original file line number Diff line number Diff line change 1616use Pest \Browser \Api \Webpage ;
1717
1818pest ()->extend (TestCase::class)->in ('Feature ' );
19- pest ()->browser ()->timeout (180000 );
19+ pest ()->browser ()->timeout (30000 );
2020
2121/*
2222|--------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments