We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ba0c9 commit 12a6fceCopy full SHA for 12a6fce
.github/workflows/local-playground-test.yml
@@ -18,6 +18,10 @@ jobs:
18
uses: actions/setup-node@v4
19
with:
20
node-version: 18.x
21
+ - uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.13'
24
+ cache: 'pip'
25
- name: Run Cypress tests on local Playground
26
run: |
27
cd mkdocs/docs/playground
mkdocs/docs/playground/run-cypress-local.sh
@@ -6,8 +6,14 @@ wait_for_service() {
6
SERVICE="$1"
7
PORT="$2"
8
echo "Waiting for $SERVICE at port $PORT..."
9
+ i=0
10
while ! nc -z localhost "$PORT"; do
11
sleep 0.1s
12
+ i=$((i + 1))
13
+ if [[ "$i" -gt 100 ]]; then
14
+ echo "Timed out after waiting 10s"
15
+ exit 1
16
+ fi
17
done
}
0 commit comments