Visitar URL original
py(deps[dev]): Add pytest-xdist for parallel test execution · tmux-python/tmuxp@4293665 · GitHub
Skip to content

Commit 4293665

Browse files
committed
py(deps[dev]): Add pytest-xdist for parallel test execution
why: Enable parallel pytest runs via -n auto, cutting local test turnaround. Adds the dependency only — opt-in via pytest CLI flags; no addopts changes. what: - Add pytest-xdist to dev and testing dependency groups - Lock with uv lock (transitively adds execnet) Re-ports PR #930 against the current uv-based dependency layout (original PR targeted poetry.lock, which has since been migrated to uv.lock). See also: - https://pypi.org/project/pytest-xdist/ - https://github.com/pytest-dev/pytest-xdist
1 parent 91ac851 commit 4293665

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ dev = [
7272
"pytest-rerunfailures",
7373
"pytest-mock",
7474
"pytest-watcher",
75+
"pytest-xdist",
7576
# Coverage
7677
"codecov",
7778
"coverage",
@@ -100,6 +101,7 @@ testing = [
100101
"pytest-rerunfailures",
101102
"pytest-mock",
102103
"pytest-watcher",
104+
"pytest-xdist",
103105
]
104106
coverage =[
105107
"codecov",

‎uv.lock‎

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)