summaryrefslogtreecommitdiff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 76b3967b..bf96d406 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -128,8 +128,14 @@ jobs:
# An empty string isn't valid, so a dummy --label option is always
# added.
options: --label ostree ${{ matrix.container-options }}
+ # make sure tests are performed on a non-overlayfs filesystem
+ volumes:
+ - tmp_dir:/test-tmp
+ env:
+ TEST_TMPDIR: /test-tmp
steps:
+
- name: Pre-checkout setup
run: ${{ matrix.pre-checkout-setup }}
if: ${{ matrix.pre-checkout-setup }}
@@ -143,7 +149,7 @@ jobs:
run: ./ci/gh-install.sh ${{ matrix.extra-packages }}
- name: Add non-root user
- run: "useradd builder && chown -R -h builder: ."
+ run: "useradd builder && chown -R -h builder: . $TEST_TMPDIR"
- name: Build and test
run: runuser -u builder -- ./ci/gh-build.sh ${{ matrix.configure-options }}