Skip to content

Commit 95f0774

Browse files
fix: ci
1 parent 3568c19 commit 95f0774

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/tests.yml

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ jobs:
1111
steps:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v4
14-
- name: test
15-
run: |
16-
pwd
17-
ls
1814
- name: Cache pip install
1915
uses: actions/setup-python@v5
2016
with:

tests/test_doc.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ def test_documentation():
8787
elif filename.endswith(".py"):
8888
print(f"Running doctests in {os.path.join(os.getcwd(),root,filename)}")
8989
my_module = importlib.import_module(
90-
os.path.join(root, filename).replace(".py", "").replace("\\", ".")
90+
os.path.join(root, filename)
91+
.replace(".py", "")
92+
.replace("\\", ".")
93+
.replace("/", ".")
9194
)
9295
saf = any(str in filename for str in saf_file)
9396
for test in finder.find(my_module, "mpqp", globs=test_globals):

0 commit comments

Comments
 (0)