Skip to content

Commit

Permalink
workflow: move swapfile from /mnt to / to free more space
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Jan 15, 2025
1 parent a821707 commit 543b27f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ jobs:
sudo -E pip install --user -r test/requirements.txt
- name: Workarounds for GH runner diskspace
run: |
# move swap to the root disk
ls -lh /mnt/swapfile
sudo swapoff -a
sudo rm -f /mnt/swapfile
sudo mkswap --size 4G --file /swapfile
sudo swapon /swapfile
# use custom basetemp here because /var/tmp is on a smaller disk
# than /mnt
sudo mkdir -p /mnt/var/tmp/bib-tests
Expand Down

0 comments on commit 543b27f

Please sign in to comment.