File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,19 @@ jobs:
127127 run : |
128128 python3 -c 'import mfusepy'
129129
130- - name : Unit Tests
130+ - name : Unit Tests (FUSE 2)
131131 if : startsWith( matrix.os, 'ubuntu' )
132132 run : |
133+ python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 2'
134+ python3 -m pytest tests
135+
136+ - name : Unit Tests (FUSE 3)
137+ if : startsWith( matrix.os, 'ubuntu' )
138+ run : |
139+ if [[ $LIBFUSE_VERSION == system ]]; then
140+ export FUSE_LIBRARY_PATH=$( dpkg -L libfuse3-3 | 'grep' -F .so | head -1 )
141+ else
142+ export FUSE_LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu/libfuse3.so.$LIBFUSE_VERSION
143+ fi
144+ python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 3'
133145 python3 -m pytest tests
You can’t perform that action at this time.
0 commit comments