run pytest in parallel
All checks were successful
checks-integration / test (pull_request) Successful in 5s
checks / test (pull_request) Successful in 18s

This commit is contained in:
Jörg Thalheim 2023-08-27 09:45:15 +02:00
parent 81d02bb218
commit 9cc6a14d73
2 changed files with 3 additions and 1 deletions

View File

@ -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
]; ];

View File

@ -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]