Skip to content

Commit fc0f092

Browse files
authored
Merge pull request #3731 from jarhodes314/fix/workflow-mnt-full
refactor: ensure /mnt has free space before running tests in CI
2 parents 6de1ab8 + d012519 commit fc0f092

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
sudo rm -rf /opt/ghc
4545
sudo rm -rf "/usr/local/share/boost"
4646
sudo rm -rf /opt/hostedtoolcache
47+
# Make sure /mnt has plenty of empty space,
48+
# but ignore the error we encounter on /mnt/swapfile
49+
# since we can't delete that
50+
sudo rm -rf /mnt/* || true
4751
4852
- name: Check disk space after freeing
4953
run: df -BM

0 commit comments

Comments
 (0)