[pim/akonadi-e2e-tests] /: Have the tests parallelized by default
Kevin Ottens <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 3c2222255289c9d2d0e9ef6b4679b79b41e4e0c0 by Kevin Ottens. Committed on 30/07/2026 at 12:40. Pushed by ervin into branch 'master'. Have the tests parallelized by default This also disable the verbose mode by default. To avoid bad interactions between the workers we also make sure that all the tests of a given module are scheduled on the same worker (which is aligned with the servers being per module as well). M +1 -1 Makefile M +1 -1 pyproject.toml https://invent.kde.org/pim/akonadi-e2e-tests/-/commit/3c2222255289c9d2d0e9ef6b4679b79b41e4e0c0 diff --git a/Makefile b/Makefile index d3e3294..42d73cc 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ init: uv sync test: - uv run pytest tests/ + uv run pytest -n 4 tests/ docker: make -C docker diff --git a/pyproject.toml b/pyproject.toml index fe4b76e..bca43f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ [tool.pytest.ini_options] testpaths = ["tests", "src"] -addopts = "-v" +addopts = "--dist loadscope" [tool.mypy] explicit_package_bases = true