diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4382dbf6774..e9d446d8e0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -221,6 +221,7 @@ jobs: - name: Run tests with Hurl run: | + export CADDY_DATA=$HOME/.local/share/caddy/pki/authorities/local/root.crt 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 {} \; diff --git a/caddytest/spec/http/requestbody/spec.hurl b/caddytest/spec/http/requestbody/spec.hurl index 0e2809f3964..006a565a604 100644 --- a/caddytest/spec/http/requestbody/spec.hurl +++ b/caddytest/spec/http/requestbody/spec.hurl @@ -25,7 +25,7 @@ http://localhost:8000 { GET https://localhost:9443 [Options] -cacert: /home/codespace/.local/share/caddy/pki/authorities/local/root.crt +cacert: {{CADDY_DATA}} ``` Hello ```