ci(gitea): install php-curl, proxy-http tests need CURLOPT_* constants
Some checks failed
Caterium QA / qa (push) Failing after 18m21s
Some checks failed
Caterium QA / qa (push) Failing after 18m21s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
66ab47de72
commit
3c15562e08
@ -57,10 +57,12 @@ jobs:
|
|||||||
- name: Install PHP CLI
|
- name: Install PHP CLI
|
||||||
# The self-hosted act_runner image (unlike GitHub's ubuntu-latest)
|
# The self-hosted act_runner image (unlike GitHub's ubuntu-latest)
|
||||||
# ships without PHP at all, so the lint/proxy steps below fail with
|
# 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: |
|
run: |
|
||||||
apt-get update -y
|
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 -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: php tests/proxy-http.php app && php tests/proxy-http.php api
|
||||||
- run: npx playwright install --with-deps chromium webkit
|
- run: npx playwright install --with-deps chromium webkit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user