diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a83f9ea3b..346305aa7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -112,4 +112,4 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | - pytest -rs -s -vv + pytest -rs -s -vv --basetemp="$TMPDIR" diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 000000000..ddcfaf122 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,4 @@ +[pytest] +# do not use /tmp by default as it may be on a tempfs and our tests can +# generate 10G images (that full of holes so not really 10G but still) +addopts = --basetemp=/var/tmp