Skip to content

Commit d2f3386

Browse files
test(32bit): add disk space checks before/after
Signed-off-by: Josh <[email protected]>
1 parent 3f9849d commit d2f3386

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/phpunit-32bits.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,23 @@ jobs:
5353
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin &&
5454
php -f tests/enable_all.php"
5555

56+
- name: Show disk usage before PHPUnit tests
57+
run: df -h && du -sh .
58+
59+
- name: Show disk usage inside container before tests
60+
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
61+
with:
62+
args: /bin/sh -c "df -h && du -sh /github/workspace"
63+
5664
- name: PHPUnit
5765
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
5866
with:
59-
args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness"
67+
args: /bin/sh -c "composer run test -- --exclude-path apps/user_ldap/tests --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness"
68+
69+
- name: Show runner disk usage after PHPUnit tests
70+
run: df -h && du -sh .
71+
72+
- name: Show disk usage inside container after tests
73+
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
74+
with:
75+
args: /bin/sh -c "df -h && du -sh /github/workspace"

0 commit comments

Comments
 (0)