@@ -65,33 +65,42 @@ jobs:
6565 # ---------------------------------------------------------------------------
6666 phpunit-unit :
6767 name : PHPUnit unit (${{ inputs.app-id }})
68- runs-on : codeberg-small
68+ runs-on : codeberg-medium
6969 container :
70- image : code.forgejo.org/oci/ci- php:8.3
70+ image : php:8.3-cli
7171 steps :
72+ - name : Install base tooling
73+ run : |
74+ apt-get update
75+ apt-get install -y --no-install-recommends \
76+ git curl ca-certificates gnupg jq unzip zip \
77+ libzip-dev libpng-dev python3
78+ docker-php-ext-install -j"$(nproc)" zip gd
79+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
80+
7281 - name : Checkout
73- uses : https://code.forgejo.org /actions/checkout@v4
82+ uses : https://github.com /actions/checkout@v4
7483
7584 - name : Install composer deps
76- run : composer install --no-interaction --no-progress --prefer-dist
85+ run : composer install --no-interaction --no-progress --prefer-dist --ignore-platform-reqs
7786
7887 - name : Run unit suite (phpunit-unit.xml)
7988 # unit-gating=false reports failures without failing the job, for apps
8089 # carrying pre-existing tests/Unit debt (see TESTING-CI-ROLLOUT.md).
81- continue-on-error : ${{ inputs.unit-gating == false }}
90+ continue-on-error : false
8291 run : ./vendor/bin/phpunit --configuration phpunit-unit.xml --no-coverage --colors=never
8392
8493 # ---------------------------------------------------------------------------
8594 # HARD GATE 2 — l10n extraction-drift check (no NC needed; pure Node).
8695 # ---------------------------------------------------------------------------
8796 l10n-check :
8897 name : l10n extraction check (${{ inputs.app-id }})
89- runs-on : codeberg-small
98+ runs-on : codeberg-medium
9099 container :
91- image : code.forgejo.org/oci/ci- node:${{ inputs.node-version }}
100+ image : node:${{ inputs.node-version }}
92101 steps :
93102 - name : Checkout
94- uses : https://code.forgejo.org /actions/checkout@v4
103+ uses : https://github.com /actions/checkout@v4
95104
96105 - name : Assert every t() source string is in l10n/en.json
97106 run : node tests/l10n/check-l10n.js
@@ -107,12 +116,12 @@ jobs:
107116 # ---------------------------------------------------------------------------
108117 frontend-unit :
109118 name : Frontend unit (Vitest — ${{ inputs.app-id }})
110- runs-on : codeberg-small
119+ runs-on : codeberg-medium
111120 container :
112- image : code.forgejo.org/oci/ci- node:${{ inputs.node-version }}
121+ image : node:${{ inputs.node-version }}
113122 steps :
114123 - name : Checkout
115- uses : https://code.forgejo.org /actions/checkout@v4
124+ uses : https://github.com /actions/checkout@v4
116125
117126 - name : Install npm deps
118127 run : npm ci --legacy-peer-deps || npm install --legacy-peer-deps
@@ -129,13 +138,22 @@ jobs:
129138 # ---------------------------------------------------------------------------
130139 phpunit-coverage-ratchet :
131140 name : PHPUnit coverage ratchet (${{ inputs.app-id }})
132- runs-on : codeberg-small
141+ runs-on : codeberg-medium
133142 container :
134- image : code.forgejo.org/oci/ci- php:8.3
135- continue-on-error : ${{ inputs.unit-gating == false }}
143+ image : php:8.3-cli
144+ continue-on-error : false
136145 steps :
146+ - name : Install base tooling
147+ run : |
148+ apt-get update
149+ apt-get install -y --no-install-recommends \
150+ git curl ca-certificates gnupg jq unzip zip \
151+ libzip-dev libpng-dev python3
152+ docker-php-ext-install -j"$(nproc)" zip gd
153+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
154+
137155 - name : Checkout
138- uses : https://code.forgejo.org /actions/checkout@v4
156+ uses : https://github.com /actions/checkout@v4
139157
140158 - name : Ensure a coverage driver (PCOV)
141159 run : |
@@ -147,7 +165,7 @@ jobs:
147165 || echo "coverage driver: ABSENT (ratchet will no-op; see TESTING-CI-ROLLOUT.md)"
148166
149167 - name : Install composer deps
150- run : composer install --no-interaction --no-progress --prefer-dist
168+ run : composer install --no-interaction --no-progress --prefer-dist --ignore-platform-reqs
151169
152170 - name : Run unit suite WITH coverage (clover)
153171 run : |
@@ -168,12 +186,12 @@ jobs:
168186 # ---------------------------------------------------------------------------
169187 frontend-coverage-ratchet :
170188 name : Frontend coverage ratchet (${{ inputs.app-id }})
171- runs-on : codeberg-small
189+ runs-on : codeberg-medium
172190 container :
173- image : code.forgejo.org/oci/ci- node:${{ inputs.node-version }}
191+ image : node:${{ inputs.node-version }}
174192 steps :
175193 - name : Checkout
176- uses : https://code.forgejo.org /actions/checkout@v4
194+ uses : https://github.com /actions/checkout@v4
177195
178196 - name : Install npm deps (+ coverage-v8)
179197 run : |
@@ -216,7 +234,7 @@ jobs:
216234 runs-on : docker
217235 steps :
218236 - name : Checkout
219- uses : https://code.forgejo.org /actions/checkout@v4
237+ uses : https://github.com /actions/checkout@v4
220238
221239 - name : TODO — boot seeded NC, then run deep e2e
222240 run : |
@@ -239,7 +257,7 @@ jobs:
239257 runs-on : docker
240258 steps :
241259 - name : Checkout
242- uses : https://code.forgejo.org /actions/checkout@v4
260+ uses : https://github.com /actions/checkout@v4
243261
244262 - name : TODO — boot NC, then run Newman
245263 run : |
0 commit comments