@@ -155,23 +155,18 @@ jobs:
155155 python3 "$file" -h
156156 done
157157
158- - name : Only test struct layout (MacOS)
159- if : startsWith( matrix.os, 'macos' )
160- run : |
161- python3 -m pytest -s -v -rs tests/test_struct_layout.py
162-
163158 - name : Unit Tests (FUSE 2)
164159 if : startsWith( matrix.os, 'ubuntu' )
165160 run : |
166161 python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 2'
167- python3 -m pytest -v -rs tests
162+ python3 -m pytest -v -rs -k "not struct_layout" tests
168163
169164 - name : Unit Tests (FUSE 3)
170165 if : startsWith( matrix.os, 'ubuntu' )
171166 run : |
172167 export FUSE_LIBRARY_PATH=$( dpkg -L libfuse3-3 | 'grep' -F .so | head -1 )
173168 python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 3'
174- python3 -m pytest -v -rs tests
169+ python3 -m pytest -v -rs -k "not struct_layout" tests
175170
176171 - name : Test Compatibility (Ratarmount)
177172 if : startsWith( matrix.os, 'ubuntu' )
@@ -261,7 +256,7 @@ jobs:
261256
262257 # Unit Tests (FUSE 2)
263258 python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 2'
264- python3 -m pytest -s -v -rs tests
259+ python3 -m pytest -s -v -rs -k "not struct_layout" tests
265260 ;;
266261 openbsd)
267262 # Ensure a proper hostname/FQDN is set (VMs may not have one by default)
@@ -285,7 +280,7 @@ jobs:
285280 python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 2'
286281
287282 # FUSE mounting only works as root on OpenBSD
288- sudo -E .venv/bin/python3 -m pytest -s -v -rs tests
283+ sudo -E .venv/bin/python3 -m pytest -s -v -rs -k "not struct_layout" tests
289284 ;;
290285 netbsd)
291286 # Ensure a proper hostname/FQDN is set (VMs may not have one by default)
@@ -317,9 +312,8 @@ jobs:
317312
318313 # preserve pytest exit status, always show logs
319314 rc=0
320- python3 -m pytest -s -v -rs tests/test_struct_layout.py
321315 # for now, run the tests as root, too many PermissionErrors:
322- sudo -E python3 -m pytest -s -v -rs tests || rc=$?
316+ sudo -E python3 -m pytest -s -v -rs -k "not struct_layout" tests || rc=$?
323317 exit "$rc"
324318 ;;
325319 omnios)
0 commit comments