Browse Source

fix(nocodb): Test commit for investingating issues with GH action

pull/4820/head
Muhammed Mustafa 2 years ago
parent
commit
caf15c021a
  1. 7
      .github/workflows/playwright-test-workflow.yml

7
.github/workflows/playwright-test-workflow.yml

@ -72,8 +72,13 @@ jobs:
npm run watch:run:playwright > ${{ inputs.db }}_${{ inputs.shard }}_test_backend.log &
- name: Wait for backend
run: |
end=$((SECONDS+20))
while ! curl --output /dev/null --silent --head --fail http://localhost:8080; do
curl --silent --head --fail http://localhost:8080;
if [ $SECONDS -gt $end ]; then
echo "Backend not started"
curl --silent --head --fail http://localhost:8080;
exit 1
fi
printf '.'
sleep 2
done

Loading…
Cancel
Save