Skip to content

Commit

Permalink
fix test run
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Dec 10, 2023
1 parent cd0669e commit 7a86e27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ build = "cd doc; make html-strict"

[tool.hatch.envs.test]
features = ["test"]
[tool.hatch.envs.docs.env-vars]
JUPYTER_PLATFORM_DIRS = 1
[tool.hatch.envs.test.scripts]
test = "python -m bash_kernel.install && JUPYTER_PLATFORM_DIRS=1 python -m pytest -vv {args}"
test = ["python -m bash_kernel.install", "python -m pytest -vv {args}"]
nowarn = "test -W default {args}"

[tool.pytest.ini_options]
Expand Down

0 comments on commit 7a86e27

Please sign in to comment.