Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests

This commit is contained in:
Qubasa
2023-10-16 15:03:53 +02:00
parent 2ca54afe7f
commit 8cc1c2c4bd
25 changed files with 59 additions and 42 deletions

View File

@@ -14,9 +14,13 @@ exclude = ["clan_cli.nixpkgs*"]
[tool.setuptools.package-data]
clan_cli = [ "config/jsonschema/*", "webui/assets/**/*"]
[tool.pytest.ini_options]
testpaths = "tests"
faulthandler_timeout = 60
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --workers auto --durations 5"
log_level = "DEBUG"
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail -n auto --durations 5 --maxfail=1 --new-first"
norecursedirs = "tests/helpers"
markers = [ "impure" ]