From 3c15562e08eb11e434e5a8266525f5f7e9a1499e Mon Sep 17 00:00:00 2001 From: pavlov346346-source Date: Wed, 23 Sep 2026 14:29:27 +0300 Subject: [PATCH] ci(gitea): install php-curl, proxy-http tests need CURLOPT_* constants Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/qa.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/qa.yml b/.gitea/workflows/qa.yml index 64d3b42..154429e 100644 --- a/.gitea/workflows/qa.yml +++ b/.gitea/workflows/qa.yml @@ -57,10 +57,12 @@ jobs: - name: Install PHP CLI # The self-hosted act_runner image (unlike GitHub's ubuntu-latest) # ships without PHP at all, so the lint/proxy steps below fail with - # "php: command not found" unless we install it first. + # "php: command not found" unless we install it first. php-curl is + # needed too: tests/proxy-http.php calls CURLOPT_* constants, which + # the bare php-cli package doesn't define. run: | apt-get update -y - apt-get install -y --no-install-recommends php-cli + apt-get install -y --no-install-recommends php-cli php-curl - run: php -l public/api/index.php && php -l ops/timeweb/api-proxy.php - run: php tests/proxy-http.php app && php tests/proxy-http.php api - run: npx playwright install --with-deps chromium webkit