Merge pull request 'pytest: report slow tests and set a 30 timeout' (#199) from Mic92-main into main

This commit is contained in:
clan-bot
2023-08-27 08:43:19 +00:00

View File

@@ -15,7 +15,8 @@ exclude = ["clan_cli.nixpkgs*"]
clan_cli = [ "config/jsonschema/*", "webui/assets/**/*"]
[tool.pytest.ini_options]
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --workers auto"
faulthandler_timeout = 30
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --workers auto --durations 5"
norecursedirs = "tests/helpers"
[tool.mypy]