Skip to content

Commit

Permalink
FIxed ci once again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain MARIE committed Sep 4, 2024
1 parent 42a139b commit e449f16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions noxfile-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
virtualenv
nox
toml
setuptools<72 # later versions do not read 'tests_require' from setup.cfg anymore
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def tests(session, coverage, pkg_specs):
# Since our tests are currently limited, use our own doc generation as a test
cannot_run_mayavi = version.parse(session.python) < version.parse(PY38)
if cannot_run_mayavi:
session.install_reqs(phase="tests", phase_reqs=MKDOCS_GALLERY_EXAMPLES_REQS)
install_reqs(session, phase="tests", phase_reqs=MKDOCS_GALLERY_EXAMPLES_REQS)
else:
session.install_reqs(phase="tests", phase_reqs=MKDOCS_GALLERY_EXAMPLES_REQS+MKDOCS_GALLERY_EXAMPLES_MAYAVI_REQS)
install_reqs(session, phase="tests", phase_reqs=MKDOCS_GALLERY_EXAMPLES_REQS+MKDOCS_GALLERY_EXAMPLES_MAYAVI_REQS)

# Edit mkdocs config file
with open("mkdocs.yml", "r") as f:
Expand Down

0 comments on commit e449f16

Please sign in to comment.