From ddc2ca3e106e4bb603c333466074877c00f96341 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Tue, 29 Oct 2024 21:13:00 +0000 Subject: [PATCH] use Caddy CA in hurl options --- .github/workflows/ci.yml | 2 +- caddytest/spec/http/requestbody/spec.hurl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4382dbf6..99cc26d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -222,7 +222,7 @@ jobs: - name: Run tests with Hurl run: | mkdir hurl-report - find . -name *.hurl --jobs 1 -exec hurl --variables-file caddytest/spec/hurl_vars.properties --very-verbose --verbose --test --report-junit hurl-report/junit.xml --color {} \; + find . -name *.hurl -exec hurl --cacert $HOME/.local/share/caddy/pki/authorities/local/root.crt --jobs 1 --variables-file caddytest/spec/hurl_vars.properties --very-verbose --verbose --test --report-junit hurl-report/junit.xml --color {} \; - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action@v2 diff --git a/caddytest/spec/http/requestbody/spec.hurl b/caddytest/spec/http/requestbody/spec.hurl index 0e2809f3..65a5912d 100644 --- a/caddytest/spec/http/requestbody/spec.hurl +++ b/caddytest/spec/http/requestbody/spec.hurl @@ -25,7 +25,6 @@ http://localhost:8000 { GET https://localhost:9443 [Options] -cacert: /home/codespace/.local/share/caddy/pki/authorities/local/root.crt ``` Hello ```