Skip to content

Commit 5b6e37e

Browse files
test: see if sqlite just needs disk space
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent acf3d89 commit 5b6e37e

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/phpunit-32bits.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
phpunit-32bits:
25-
runs-on: ubuntu-slim
25+
runs-on: ubuntu-latest
2626

2727
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
2828

@@ -45,6 +45,24 @@ jobs:
4545
git config --global --add safe.directory /github/workspace &&
4646
composer install --no-interaction"
4747

48+
- name: Clean Up Disk Space
49+
if: runner.os == 'Linux'
50+
run: |
51+
# Space usage before cleanup
52+
df -h /
53+
54+
# Remove unused stuff
55+
sudo rm -rf /usr/lib/jvm
56+
sudo rm -rf /usr/local/.ghcup
57+
sudo rm -rf /usr/local/lib/android
58+
sudo rm -rf /usr/local/share/powershell
59+
sudo rm -rf /usr/share/dotnet
60+
sudo rm -rf /usr/share/swift
61+
#sudo rm -rf "$AGENT_TOOLSDIRECTORY"
62+
63+
# Verify gains
64+
df -h /
65+
4866
- name: Set up Nextcloud
4967
uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest
5068
with:

0 commit comments

Comments
 (0)