@@ -5,9 +5,10 @@ name: PHPUnit 32bits
55on :
66 pull_request :
77 paths :
8- - ' version.php'
9- - ' .github/workflows/phpunit-32bits.yml'
10- - ' tests/phpunit-autotest.xml'
8+ - " version.php"
9+ - " .github/workflows/phpunit-32bits.yml"
10+ - " tests/phpunit-autotest.xml"
11+ - " lib/private/Snowflake/*"
1112 workflow_dispatch :
1213 schedule :
1314 - cron : " 15 1 * * 1-6"
@@ -25,47 +26,36 @@ jobs:
2526
2627 if : ${{ github.repository_owner != 'nextcloud-gmbh' }}
2728
28- container : shivammathur/node:latest-i386
29-
3029 strategy :
3130 fail-fast : false
3231 matrix :
33- php-versions : ['8.1','8.3' ]
32+ php-versions : ["8.4" ]
3433
3534 steps :
3635 - name : Checkout server
37- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
36+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6 .0.0
3837 with :
3938 persist-credentials : false
4039 submodules : true
4140
42- - name : Install tools
43- run : |
44- sudo apt-get update
45- sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
46-
47- - name : Set up php ${{ matrix.php-versions }}
48- uses : shivammathur/setup-php@ec406be512d7077f68eed36e63f4d91bc006edc4 # v2.35.4
49- with :
50- php-version : ${{ matrix.php-versions }}
51- 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
52- coverage : none
53- ini-file : development
54- ini-values :
55- 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,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,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