Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Henri-ColibrITD committed May 18, 2024
1 parent 3568c19 commit 95f0774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: test
run: |
pwd
ls
- name: Cache pip install
uses: actions/setup-python@v5
with:
Expand Down
5 changes: 4 additions & 1 deletion tests/test_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ def test_documentation():
elif filename.endswith(".py"):
print(f"Running doctests in {os.path.join(os.getcwd(),root,filename)}")
my_module = importlib.import_module(
os.path.join(root, filename).replace(".py", "").replace("\\", ".")
os.path.join(root, filename)
.replace(".py", "")
.replace("\\", ".")
.replace("/", ".")
)
saf = any(str in filename for str in saf_file)
for test in finder.find(my_module, "mpqp", globs=test_globals):
Expand Down

0 comments on commit 95f0774

Please sign in to comment.