diff --git a/.github/workflows/build-macos.yaml b/.github/workflows/build-macos.yaml index da017f118c..45cdf0f53b 100644 --- a/.github/workflows/build-macos.yaml +++ b/.github/workflows/build-macos.yaml @@ -248,6 +248,11 @@ jobs: sudo exportfs -a sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount fi + if echo "${{ matrix.flavor }}" | grep -q "encfs" ; then + mkdir /tmp/encfsmount_ /tmp/encfsmount + sudo apt-get install -y encfs + encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount + fi case "${{ matrix.flavor }}" in # For git-annex it causes only few temporary directories to be on the crippled FS, @@ -267,7 +272,7 @@ jobs: nfs-home) export HOME=/tmp/nfsmount ;; - normal|custom-config1) + normal|custom-config1|encfs-repo) ;; *) echo "Unknown flavor ${{ matrix.flavor }}" @@ -290,9 +295,19 @@ jobs: ;; esac - cd $HOME + case "${{ matrix.flavor }}" in + # Perform testing only (leaving TMP or HOME) aside in --repo flavors + # and generally under $HOME + encfs-repo) cd /tmp/encfsmount;; + *) cd $HOME;; + esac + export | grep -e crippledfs || : + # Report basic info about current path given that we might cd away + stat $PWD + df . || : + timeout 3600 git annex test "${test_opts[@]:-}" - name: Set final PR status diff --git a/.github/workflows/build-ubuntu.yaml b/.github/workflows/build-ubuntu.yaml index 9e3aa6964a..d7412a1589 100644 --- a/.github/workflows/build-ubuntu.yaml +++ b/.github/workflows/build-ubuntu.yaml @@ -244,7 +244,7 @@ jobs: needs: build-package strategy: matrix: - flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1"] + flavor: ["normal", "crippled-tmp", "crippled-home", "nfs-home", "custom-config1", "encfs-repo"] os: [ubuntu-latest] fail-fast: false steps: @@ -297,6 +297,11 @@ jobs: sudo exportfs -a sudo mount -t nfs localhost:/tmp/nfsmount_ /tmp/nfsmount fi + if echo "${{ matrix.flavor }}" | grep -q "encfs" ; then + mkdir /tmp/encfsmount_ /tmp/encfsmount + sudo apt-get install -y encfs + encfs --standard --extpass="echo 123" /tmp/encfsmount_ /tmp/encfsmount + fi case "${{ matrix.flavor }}" in # For git-annex it causes only few temporary directories to be on the crippled FS, @@ -316,7 +321,7 @@ jobs: nfs-home) export HOME=/tmp/nfsmount ;; - normal|custom-config1) + normal|custom-config1|encfs-repo) ;; *) echo "Unknown flavor ${{ matrix.flavor }}" @@ -339,9 +344,19 @@ jobs: ;; esac - cd $HOME + case "${{ matrix.flavor }}" in + # Perform testing only (leaving TMP or HOME) aside in --repo flavors + # and generally under $HOME + encfs-repo) cd /tmp/encfsmount;; + *) cd $HOME;; + esac + export | grep -e crippledfs || : + # Report basic info about current path given that we might cd away + stat $PWD + df . || : + timeout 3600 git annex test "${test_opts[@]:-}" - name: Set final PR status diff --git a/.github/workflows/build-windows.yaml b/.github/workflows/build-windows.yaml index 71dc6a681a..d70bbd47a9 100644 --- a/.github/workflows/build-windows.yaml +++ b/.github/workflows/build-windows.yaml @@ -278,9 +278,19 @@ jobs: ;; esac - cd $HOME + case "${{ matrix.flavor }}" in + # Perform testing only (leaving TMP or HOME) aside in --repo flavors + # and generally under $HOME + encfs-repo) cd /tmp/encfsmount;; + *) cd $HOME;; + esac + export | grep -e crippledfs || : + # Report basic info about current path given that we might cd away + stat $PWD + df . || : + timeout 3600 git annex test "${test_opts[@]:-}" - name: Set final PR status