run pytest in parallel
This commit is contained in:
parent
81d02bb218
commit
9cc6a14d73
@ -9,6 +9,7 @@
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-subprocess
|
||||
, pytest-parallel
|
||||
, python3
|
||||
, runCommand
|
||||
, self
|
||||
@ -36,6 +37,7 @@ let
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-subprocess
|
||||
pytest-parallel
|
||||
openssh
|
||||
stdenv.cc
|
||||
];
|
||||
|
@ -15,7 +15,7 @@ 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"
|
||||
addopts = "--cov . --cov-report term --cov-report html:.reports/html --no-cov-on-fail --workers auto"
|
||||
norecursedirs = "tests/helpers"
|
||||
|
||||
[tool.mypy]
|
||||
|
Loading…
Reference in New Issue
Block a user