Skip to content

Commit 3d8eb9f

Browse files
committed
build: Add free disk space to dev and local tests
Now we're running out of space on those test runners as well.
1 parent f2216b1 commit 3d8eb9f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test-tutor-aspects.yml

+28
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ jobs:
3333
run: tutor config save
3434
- name: Setup Docker Buildx
3535
uses: docker/setup-buildx-action@v3
36+
- name: Free Disk Space (Ubuntu)
37+
uses: jlumbroso/free-disk-space@d5af243ce7bacb67384aa6c5b1fc5f169e30903e
38+
with:
39+
# this might remove tools that are actually needed,
40+
# if set to "true" but frees about 6 GB
41+
tool-cache: false
42+
43+
# all of these default to true, but feel free to set to
44+
# "false" if necessary for your workflow
45+
android: true
46+
dotnet: true
47+
haskell: true
48+
large-packages: false
49+
swap-storage: true
3650
- name: Tutor build openedx
3751
run: tutor images build openedx aspects aspects-superset
3852
- name: Tutor start
@@ -71,6 +85,20 @@ jobs:
7185
run: tutor config save
7286
- name: Setup Docker Buildx
7387
uses: docker/setup-buildx-action@v3
88+
- name: Free Disk Space (Ubuntu)
89+
uses: jlumbroso/free-disk-space@d5af243ce7bacb67384aa6c5b1fc5f169e30903e
90+
with:
91+
# this might remove tools that are actually needed,
92+
# if set to "true" but frees about 6 GB
93+
tool-cache: false
94+
95+
# all of these default to true, but feel free to set to
96+
# "false" if necessary for your workflow
97+
android: true
98+
dotnet: true
99+
haskell: true
100+
large-packages: false
101+
swap-storage: true
74102
- name: Tutor build openedx
75103
run: tutor images build openedx-dev aspects aspects-superset
76104
- name: Tutor start

0 commit comments

Comments
 (0)