Skip to content

Commit eb90425

Browse files
committed
[CI] Test with ninfs and ratarmount
1 parent 2fa8bc9 commit eb90425

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/tests.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Install Dependencies (Linux)
9595
if: startsWith( matrix.os, 'ubuntu' )
9696
run: |
97-
sudo apt-get -y install libfuse2 fuse3
97+
sudo apt-get -y install libfuse2 fuse3 wget
9898
9999
- name: Install Dependencies (MacOS)
100100
if: startsWith( matrix.os, 'macos' )
@@ -116,7 +116,7 @@ jobs:
116116
117117
- name: Test Installation From Source
118118
run: |
119-
python3 -m pip install .[full]
119+
python3 -m pip install .
120120
121121
- name: Test Import
122122
run: |
@@ -134,3 +134,22 @@ jobs:
134134
export FUSE_LIBRARY_PATH=$( dpkg -L libfuse3-3 | 'grep' -F .so | head -1 )
135135
python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 3'
136136
python3 -m pytest tests
137+
138+
- name: Test Compatibility
139+
if: startsWith( matrix.os, 'ubuntu' )
140+
run: |
141+
python3 -m pip install ratarmount
142+
python3 -m pip install git+https://github.com/ihaveamac/ninfs.git@main
143+
python3 -m pip install --force-reinstall .
144+
#
145+
mkdir -p mounted-tar
146+
wget https://github.com/mxmlnkn/ratarmount/raw/refs/heads/master/tests/single-file.tar
147+
ratarmount single-file.tar mounted-tar
148+
[[ "$( cat mounted-tar/bar )" == "foo" ]]
149+
fusermount -u mounted-tar
150+
#
151+
mkdir -p mounted-3dsx
152+
wget https://github.com/videah/3dsfetch/raw/refs/heads/master/3dsfetch.3dsx
153+
ninfs threedsx 3dsfetch.3dsx mounted-3dsx
154+
[[ "$( crc32 mounted-3dsx/icon.smdh )" =~ "cc90bf9c" ]]
155+
fusermount -u mounted-3dsx

0 commit comments

Comments
 (0)