Skip to content

Commit

Permalink
DX: define nb job in tox.ini (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Jan 9, 2024
1 parent 5f5fce6 commit 9da9c70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ sty = [
"pre-commit",
]
test = [
"nbmake",
"pytest",
"pytest-cov",
"pytest-profiling",
Expand Down
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ passenv = *
setenv =
FORCE_COLOR = yes

[testenv:nb]
allowlist_externals =
pytest
commands =
pytest --nbmake {posargs:docs}
description =
Run all notebooks with pytest
passenv = *

[testenv:sty]
allowlist_externals =
pre-commit
Expand Down

0 comments on commit 9da9c70

Please sign in to comment.