Sleep between deploy and verification
Previous version would sleep 10s at each request in the verification test
This commit is contained in:
@@ -83,11 +83,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: gacts/install-hurl@v1
|
- uses: gacts/install-hurl@v1
|
||||||
- run: hurl --test scripts/deploy.hurl
|
- name: Deploy to production
|
||||||
|
run: hurl --test scripts/deploy.hurl
|
||||||
env:
|
env:
|
||||||
HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }}
|
HURL_coolify_token: ${{ secrets.COOLIFY_TOKEN }}
|
||||||
HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
|
HURL_coolify_host: ${{ vars.COOLIFY_HOST }}
|
||||||
HURL_coolify_app_uuid: ${{ vars.COOLIFY_APP_UUID }}
|
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:
|
env:
|
||||||
HURL_api_token: ${{ secrets.API_TOKEN }}
|
HURL_api_token: ${{ secrets.API_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user