Skip to content

Commit 4339a1d

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! ci(32bit): use custom image to run PHP unit tests on 32bit
1 parent a9932a0 commit 4339a1d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/phpunit-32bits.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ 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 'echo $GITHUB_WORKSPACE && ls -ahlp /github/workspace'
44+
args: /bin/sh -c "echo \$GITHUB_WORKSPACE && ls -ahlp /github/workspace"
4545
# args: /bin/sh -c "composer install --no-interaction"
4646

4747
- name: Set up Nextcloud
48-
env:
49-
DB_PORT: 4444
50-
run: |
51-
mkdir data
52-
./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
53-
php -f tests/enable_all.php
48+
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
49+
with:
50+
args: /bin/sh -c '
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
53+
php -f tests/enable_all.php'
5454

5555
- name: PHPUnit
5656
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

0 commit comments

Comments
 (0)