@@ -26,12 +26,10 @@ jobs:
2626
2727 if : ${{ github.repository_owner != 'nextcloud-gmbh' }}
2828
29- container : shivammathur/node:latest-i386
30-
3129 strategy :
3230 fail-fast : false
3331 matrix :
34- php-versions : ["8.2", "8.3", "8. 4"]
32+ php-versions : ["8.4"]
3533
3634 steps :
3735 - name : Checkout server
@@ -40,32 +38,24 @@ jobs:
4038 persist-credentials : false
4139 submodules : true
4240
43- - name : Install tools
44- run : |
45- sudo apt-get update
46- sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
47-
48- - name : Set up php ${{ matrix.php-versions }}
49- uses : shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2.35.5
50- with :
51- php-version : ${{ matrix.php-versions }}
52- extensions : bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite, apcu, ldap
53- coverage : none
54- ini-file : development
55- ini-values : apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
56- env :
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58-
5941 - name : Set up dependencies
60- run : composer i
42+ uses : docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
43+ with :
44+ args : /bin/sh -c "
45+ apt-get update &&
46+ apt-get install -y unzip &&
47+ git config --global --add safe.directory /github/workspace &&
48+ composer install --no-interaction"
6149
6250 - name : Set up Nextcloud
63- env :
64- DB_PORT : 4444
65- run : |
66- mkdir data
67- ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database- user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
68- php -f tests/enable_all.php
51+ uses : docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
52+ with :
53+ args : /bin/sh -c "
54+ mkdir data &&
55+ ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin &&
56+ php -f tests/enable_all.php"
6957
7058 - name : PHPUnit
71- run : composer run test -- --exclude-group PRIMARY-azure --exclude-group PRIMARY-s3 --exclude-group PRIMARY-swift --exclude-group Memcached --exclude-group Redis --exclude-group RoutingWeirdness
59+ uses : docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
60+ with :
61+ args : /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness"
0 commit comments