aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/phpunit-32bits.yml
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-09-28 13:20:49 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-10-02 11:33:14 +0200
commit0e64ec6550148757ade13dd45f444776651db639 (patch)
treed9c7c058458915be4feba676c510c47d7618ca30 /.github/workflows/phpunit-32bits.yml
parent0cb489d6caba3966f00f6e1d01790df9c6872fc2 (diff)
downloadnextcloud-server-0e64ec6550148757ade13dd45f444776651db639.tar.gz
nextcloud-server-0e64ec6550148757ade13dd45f444776651db639.zip
chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to stableX it can pull the corresponding version too. Also local dev envs and CI run the same phpunit. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github/workflows/phpunit-32bits.yml')
-rw-r--r--.github/workflows/phpunit-32bits.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml
index beafe11cdc3..8c1489a5dc3 100644
--- a/.github/workflows/phpunit-32bits.yml
+++ b/.github/workflows/phpunit-32bits.yml
@@ -44,7 +44,6 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
- tools: phpunit:9
coverage: none
ini-file: development
ini-values:
@@ -56,10 +55,10 @@ jobs:
env:
DB_PORT: 4444
run: |
+ composer install
mkdir data
./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
php -f index.php
- name: PHPUnit
- working-directory: tests
- run: phpunit --configuration phpunit-autotest.xml --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+ run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness