Skip to content

Commit

Permalink
Rerun flaky tests (#331)
Browse files Browse the repository at this point in the history
* Rerun flaky tests

* Add timeout
  • Loading branch information
davidbrochart authored Jul 13, 2023
1 parent bdca3e0 commit ebf0e6d
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 @@ -44,6 +44,8 @@ test = [
"types-setuptools",
"pytest",
"pytest-asyncio",
"pytest-rerunfailures",
"pytest-timeout",
"pytest-env",
"httpx",
"httpx-ws",
Expand Down Expand Up @@ -98,7 +100,7 @@ frontend = ["jupyterlab", "retrolab"]
auth = ["noauth", "auth", "auth_fief"]

[tool.hatch.envs.dev.scripts]
test = "pytest ./tests plugins/webdav/tests -v"
test = "pytest ./tests plugins/webdav/tests -v --reruns 5 --timeout=60"
lint = [
"black --line-length 100 jupyverse ./plugins",
"isort --profile=black jupyverse ./plugins",
Expand Down

0 comments on commit ebf0e6d

Please sign in to comment.