From 962d6a0cb06a0dc64220c9ea4ba989cf0bc5fd43 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 22 Dec 2024 19:06:49 +0000 Subject: [PATCH] Run HURL tests on production env after deploy --- .github/workflows/test_and_deploy.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 1ae705e7..17b02195 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -69,3 +69,17 @@ jobs: - run: flyctl deploy --remote-only env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} + + verify: + name: Verify + needs: deploy + runs-on: ubuntu-24.04 + environment: production + if: github.ref == 'refs/heads/main' + concurrency: deploy-group # optional: ensure only one action runs at a time + steps: + - uses: actions/checkout@v4 + - uses: gacts/install-hurl@v1 + - run: hurl test/prod.hurl + env: + HURL_api_token: ${{ secrets.API_TOKEN }}