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