From bdb88b3412b5677c815eaa7f240d63dc630707b5 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 15 Sep 2025 07:22:33 +0300 Subject: [PATCH] Sleep between deploy and verification Previous version would sleep 10s at each request in the verification test --- .github/workflows/test_and_deploy.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 4aeb72bb..81d046bc 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -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 }}