Skip to content

Commit

Permalink
fix tox env
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Mar 4, 2024
1 parent a7d9377 commit a426a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install tox
- name: Install Jupyter Kernel
run: |
python -m pip install ipykernel
python -m ipykernel install --user --name=moscot
- name: Test examples
run: |
tox -e examples-docs
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,12 @@ commands =
[testenv:examples-docs]
description = Build the docs and run the notebooks.
use_develop = true
deps =
deps = ipykernel
extras = docs
changedir = {tox_root}{/}docs
commands =
sphinx-build -b html . _build/html -D nb_execution_mode=force
python -m ipykernel install --user --name=moscot
sphinx-build -b html . _build/html -D nb_execution_mode=force -D nbsphinx_kernel_name=moscot
[testenv:clean-docs]
description = Remove the documentation.
Expand Down

0 comments on commit a426a54

Please sign in to comment.