fix(phpunit): migrate from deprecated syntax for PHPUnit 11.1

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
Maksim Sukharev 2026-03-19 10:53:56 +01:00
parent e01440af96
commit 2c68e65e19
2 changed files with 4 additions and 4 deletions

View file

@ -56,4 +56,4 @@ jobs:
- name: PHPUnit
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
with:
args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness"
args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure --exclude-group PRIMARY-s3 --exclude-group PRIMARY-swift --exclude-group Memcached --exclude-group Redis --exclude-group RoutingWeirdness"

View file

@ -371,13 +371,13 @@ function execute_tests {
fi
GROUP=''
if [ "$TEST_SELECTION" == "QUICKDB" ]; then
GROUP='--group DB --exclude-group=SLOWDB'
GROUP='--group DB --exclude-group SLOWDB'
fi
if [ "$TEST_SELECTION" == "DB" ]; then
GROUP='--group DB,SLOWDB'
GROUP='--group DB --group SLOWDB'
fi
if [ "$TEST_SELECTION" == "NODB" ]; then
GROUP='--exclude-group DB,SLOWDB'
GROUP='--exclude-group DB --exclude-group SLOWDB'
fi
if [ "$TEST_SELECTION" == "PRIMARY-s3" ]; then
GROUP='--group PRIMARY-s3'