Skip to content

Commit

Permalink
github: setup custom basetemp in GH runners
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 authored and cgwalters committed Feb 9, 2024
1 parent e28ad4f commit ee7dcb6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ jobs:
# podman needs (parts of) the environment but will break when
# XDG_RUNTIME_DIR is set.
# TODO: figure out what exactly podman needs
sudo -E XDG_RUNTIME_DIR= pytest-3 -s -vv
# use custom basetemp here because /var/tmp is on a smaller disk
# than /mnt
sudo mkdir -p /mnt/var/tmp/bib-tests
sudo -E XDG_RUNTIME_DIR= pytest-3 -s -vv --basetemp=/mnt/var/tmp/bib-tests
- name: Diskspace (after)
if: ${{ failure() }}
if: ${{ always() }}
run: |
df -h
sudo du -sh * /var/tmp /tmp /var/lib/containers | sort -sh
Expand Down

0 comments on commit ee7dcb6

Please sign in to comment.