run pytest in parallel
This commit is contained in:
parent
81d02bb218
commit
9cc6a14d73
@ -9,6 +9,7 @@
|
|||||||
, pytest
|
, pytest
|
||||||
, pytest-cov
|
, pytest-cov
|
||||||
, pytest-subprocess
|
, pytest-subprocess
|
||||||
|
, pytest-parallel
|
||||||
, python3
|
, python3
|
||||||
, runCommand
|
, runCommand
|
||||||
, self
|
, self
|
||||||
@ -36,6 +37,7 @@ let
|
|||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-subprocess
|
pytest-subprocess
|
||||||
|
pytest-parallel
|
||||||
openssh
|
openssh
|
||||||
stdenv.cc
|
stdenv.cc
|
||||||
];
|
];
|
||||||
|
@ -15,7 +15,7 @@ exclude = ["clan_cli.nixpkgs*"]
|
|||||||
clan_cli = [ "config/jsonschema/*", "webui/assets/**/*"]
|
clan_cli = [ "config/jsonschema/*", "webui/assets/**/*"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[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"
|
norecursedirs = "tests/helpers"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
|
Loading…
Reference in New Issue
Block a user