jdecool/setup-phppublic Fork
⑂ main
Commits
⬇ Clone ▾
git clone https://git.rickub.com/jdecool/setup-php.git
git clone ssh://git@rickub.com/jdecool/setup-php.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
success

Rickub #6

push · rickub · 5f84f6b9ran in 33s · 152 lines of output
queued <1s ran 32s total 33s
2 jobs
0 failed
33s duration
— tests
0 artifacts
setup-php (8.4)
setup-php (8.5)
successsetup-php (8.5) 28s
successSet up job
cloning jdecool/setup-php @ 5f84f6b91b2eab917cc043d0099e2ee2b87cf6d3warning: remote HEAD refers to nonexistent ref, unable to checkoutaction ./: node24 ()
successactions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 2s
(checkout already performed by the runner — delivered as the read-only work disk)
successDescribe the runner 2s
Run
cat /etc/os-release
id
cat "$(command -v sudo)"
env | grep -E '^(ImageOS|ImageVersion|RUNNER_|GITHUB_SERVER_URL|GITHUB_API_URL|RICKUB_|ACT=|CONTAINER=)' | sort
ciguest: network up (172.30.0.2/30 via 172.30.0.1)ciguest: starting dockerd (overlay2, data-root on scratch)ciguest: dockerd is readyciguest: loaded baked image postgres_16-alpine.tar.gz: Loaded image: postgres:16-alpineciguest: 1 baked image archive(s) loaded (no per-job registry pull needed)ciguest: logged into registry registry.rickub.com as rickubPRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"VERSION_CODENAME=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"uid=0(root) gid=0(root) groups=0(root)#!/bin/shexec "$@"GITHUB_API_URL=http://172.30.255.1:8888/ghGITHUB_SERVER_URL=https://rickub.comImageOS=ubuntu22ImageVersion=22.04RICKUB_CI_GIT_URL=http://172.30.255.1:8888/ci/gitRICKUB_EGRESS_PROBE_HOST=registry.rickub.comRICKUB_GITHUB_SERVER_URL=https://rickub.comRICKUB_JOB=setup-php (8.5)RICKUB_REGISTRY_HOST=registry.rickub.comRICKUB_REGISTRY_TOKEN=***RUNNER_ARCH=X64RUNNER_ENVIRONMENT=github-hostedRUNNER_OS=LinuxRUNNER_TEMP=/tmpRUNNER_TOOL_CACHE=/tmp/hostedtoolcacheRUNNER_WORKSPACE=/workspace
successSetup PHP 23s
[command]/usr/bin/bash /workspace/setup-php/src/scripts/run.sh==> Setup PHP✓ PHP Installed PHP 8.5.13==> Setup Extensions✓ intl Enabled✓ pdo_pgsql Enabled✓ redis Enabled✓ imagick Enabled✓ mongodb Enabled==> Setup Tools✓ composer Added composer 2.11.3✓ phpstan Added phpstan 2.1.56==> Setup Coverage✓ pcov.enabled=1 Added to php.ini✓ pcov PCOV 1.0.12 enabled as coverage driver==> Sponsor setup-php✓ setup-php https://setup-php.com/sponsor
successCheck the installation <1s
Run
php -v
for ext in intl pdo_pgsql redis imagick mongodb pcov; do php -m | grep -qx "$ext" || { echo "missing $ext"; exit 1; }; done
composer --version
phpstan --version
# Rickub does not expand matrix expressions in run scripts, so compare against the action output.
test "$(php -r 'echo PHP_VERSION;')" = "${{ steps.setup-php.outputs.php-version }}"
PHP 8.5.13 (cli) (built: Nov 21 2026 08:52:18) (NTS)Copyright (c) The PHP GroupZend Engine v4.5.13, Copyright (c) Zend Technologies with Zend OPcache v8.5.13, Copyright (c), by Zend TechnologiesComposer version 2.11.3 2026-11-24 10:14:18PHP version 8.5.13 (/usr/bin/php8.5)Run the "diagnose" command to get more detailed diagnostics output.PHPStan - PHP Static Analysis Tool 2.1.56

No test reports for this run.

Tell a job where its test runner writes its report and this tab fills in: how many tests passed, failed and were skipped, a bar of the result at a glance, then every failure first — with the assertion that failed and the output around it — over a per-suite list of cases and their durations. No scrolling a log for the word FAIL.

It is one reports: key on the job — a job key, not a step, so the report is collected whatever the job concluded. JUnit XML and go test -json are both understood, and most runners already emit one of them. reports: is a rickub extension and works only in .rickub/workflows/; in .github/workflows/ it is a parse error on purpose, because those files are also meant to run on github.com.