diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b879e5d1..7183e7a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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