Sleep between deploy and verification

Previous version would sleep 10s at each request in the verification
test
This commit is contained in:
Claudio Ortolina
2025-09-15 07:22:33 +03:00
parent 80a9ab9d0a
commit bdb88b3412
+6 -2
View File
@@ -83,11 +83,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: gacts/install-hurl@v1
- run: hurl --test scripts/deploy.hurl
- name: Deploy to production
run: hurl --test scripts/deploy.hurl
env:
HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }}
HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
HURL_coolify_app_uuid: ${{ vars.COOLIFY_APP_UUID }}
- run: hurl --test --delay 10s test/prod.hurl
- name: Wait for container to start
run: sleep 10s
- name: Run verification tests
run: hurl --test test/prod.hurl
env:
HURL_api_token: ${{ secrets.API_TOKEN }}