@@ -10,11 +10,13 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
13- - uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
14- with :
15- php-version : " 8.4"
16- extensions : curl, xml, mbstring, zip
17- tools : composer
13+ - name : Install PHP 8.4
14+ run : |
15+ sudo add-apt-repository -y ppa:ondrej/php
16+ sudo apt-get update -qq
17+ sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
18+ sudo update-alternatives --set php /usr/bin/php8.4
19+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1820 - name : PHP code style
1921 run : |
2022 make vendor-bin-codestyle
@@ -113,7 +115,7 @@ jobs:
113115 - apiActivities
114116 # search
115117 - apiSearch1
116- # - apiSearch2
118+ - apiSearch2
117119 - apiSearchContent # needs Tika
118120 # sharing
119121 - apiSharingNgShares
@@ -169,11 +171,15 @@ jobs:
169171 }
170172 '
171173
172- - uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
173- with :
174- php-version : " 8.4"
175- extensions : curl, xml, mbstring, zip
176- tools : composer
174+ - name : Install PHP 8.4
175+ run : |
176+ sudo add-apt-repository -y ppa:ondrej/php
177+ sudo apt-get update -qq
178+ sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
179+ sudo update-alternatives --set php /usr/bin/php8.4
180+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
181+ php -v
182+ composer --version
177183
178184 - name : Run ${{ matrix.suite }}
179185 run : BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
@@ -201,11 +207,15 @@ jobs:
201207 - name : Enable pnpm
202208 run : corepack enable && corepack prepare pnpm@10.28.1 --activate
203209
204- - uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
205- with :
206- php-version : " 8.4"
207- extensions : curl, xml, mbstring, zip
208- tools : composer
210+ - name : Install PHP 8.4
211+ run : |
212+ sudo add-apt-repository -y ppa:ondrej/php
213+ sudo apt-get update -qq
214+ sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
215+ sudo update-alternatives --set php /usr/bin/php8.4
216+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
217+ php -v
218+ composer --version
209219
210220 - name : Run ${{ matrix.suite }}
211221 run : BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
@@ -262,11 +272,13 @@ jobs:
262272 }
263273 '
264274
265- - uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # 2.37.0
266- with :
267- php-version : " 8.4"
268- extensions : curl, xml, mbstring, zip
269- tools : composer
275+ - name : Install PHP 8.4
276+ run : |
277+ sudo add-apt-repository -y ppa:ondrej/php
278+ sudo apt-get update -qq
279+ sudo apt-get install -y php8.4 php8.4-curl php8.4-xml php8.4-mbstring php8.4-zip php8.4-ldap php8.4-gd
280+ sudo update-alternatives --set php /usr/bin/php8.4
281+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
270282
271283 - name : Run ${{ matrix.suite }}
272284 run : >
@@ -306,10 +318,8 @@ jobs:
306318 - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
307319 with :
308320 node-version : " 24"
309- - name : Setup pnpm
310- uses : pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4
311- with :
312- version : " 10.28.1"
321+ - name : Enable pnpm
322+ run : corepack enable && corepack prepare pnpm@10.28.1 --activate
313323 - name : Generate code
314324 run : |
315325 pnpm config set store-dir ./.pnpm-store
@@ -318,7 +328,7 @@ jobs:
318328 CHROMEDRIVER_SKIP_DOWNLOAD : " true"
319329
320330 - name : Cache Playwright Chromium
321- uses : actions/cache@v4
331+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
322332 with :
323333 path : ~/.cache/ms-playwright
324334 key : playwright-chromium-${{ hashFiles('.drone.env') }}
@@ -440,7 +450,7 @@ jobs:
440450 run : python3 tests/acceptance/run-wopi.py --type cs3
441451
442452 all-acceptance-tests :
443- needs : [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
453+ needs : [local-api-tests, cli-tests, wopi-cs3] # [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
444454 runs-on : ubuntu-latest
445455 if : always()
446456 steps :
0 commit comments