diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index feee2d82..b1bde572 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -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 ]; diff --git a/pkgs/clan-cli/pyproject.toml b/pkgs/clan-cli/pyproject.toml index 1892ad69..fcaad7d7 100644 --- a/pkgs/clan-cli/pyproject.toml +++ b/pkgs/clan-cli/pyproject.toml @@ -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]