Skip to content

Commit dc66b97

Browse files
committed
[CI] Test with ninfs and ratarmount
1 parent 3b9b083 commit dc66b97

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
@@ -99,7 +99,7 @@ jobs:
9999
- name: Install Dependencies (Linux)
100100
if: startsWith( matrix.os, 'ubuntu' )
101101
run: |
102-
sudo apt-get -y install libfuse2 fuse3
102+
sudo apt-get -y install libfuse2 fuse3 wget
103103
104104
- name: Install Dependencies (MacOS)
105105
if: startsWith( matrix.os, 'macos' )
@@ -121,7 +121,7 @@ jobs:
121121
122122
- name: Test Installation From Source
123123
run: |
124-
python3 -m pip install .[full]
124+
python3 -m pip install .
125125
126126
- name: Test Import
127127
run: |
@@ -139,3 +139,22 @@ jobs:
139139
export FUSE_LIBRARY_PATH=$( dpkg -L libfuse3-3 | 'grep' -F .so | head -1 )
140140
python3 -c 'import mfusepy; assert mfusepy.fuse_version_major == 3'
141141
python3 -m pytest tests
142+
143+
- name: Test Compatibility
144+
if: startsWith( matrix.os, 'ubuntu' )
145+
run: |
146+
python3 -m pip install ratarmount
147+
python3 -m pip install git+https://github.com/ihaveamac/ninfs.git@main
148+
python3 -m pip install --force-reinstall .
149+
#
150+
mkdir -p mounted-tar
151+
wget https://github.com/mxmlnkn/ratarmount/raw/refs/heads/master/tests/single-file.tar
152+
ratarmount single-file.tar mounted-tar
153+
[[ "$( cat mounted-tar/bar )" == "foo" ]]
154+
fusermount -u mounted-tar
155+
#
156+
mkdir -p mounted-3dsx
157+
wget https://github.com/videah/3dsfetch/raw/refs/heads/master/3dsfetch.3dsx
158+
threedsx 3dsfetch.3dsx mounted-3dsx
159+
[[ "$( crc32 mounted-3dsx/icon.smdh )" =~ "cc90bf9c" ]]
160+
fusermount -u mounted-3dsx

0 commit comments

Comments
 (0)