Skip to content

Commit eef4425

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! ci(32bit): use custom image to run PHP unit tests on 32bit
1 parent 20b2028 commit eef4425

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/phpunit-32bits.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,19 @@ jobs:
4141
- name: Set up dependencies
4242
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
4343
with:
44-
args: /bin/sh -c "pwd && composer install --no-interaction"
44+
args: /bin/sh -c "composer install --no-interaction"
4545

4646
- name: Set up Nextcloud
4747
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
4848
with:
4949
args: /bin/sh -c "
50-
cd $GITHUB_WORKSPACE
51-
mkdir data
52-
DB_PORT=4444 ./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
50+
mkdir data &&
51+
DB_PORT=4444 ./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 &&
5352
php -f tests/enable_all.php"
5453

5554
- name: PHPUnit
5655
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
5756
with:
58-
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"
57+
args: /bin/sh -c "
58+
git config --global --add safe.directory /github/workspace &&
59+
composer run test -- --exclude-group PRIMARY-azure --exclude-group PRIMARY-s3 --exclude-group PRIMARY-swift --exclude-group Memcached --exclude-group Redis --exclude-group RoutingWeirdness"

0 commit comments

Comments
 (0)