mirror of
https://github.com/tiennm99/serena.git
synced 2026-09-04 04:18:11 +00:00
Add pytest-xdist for parallel tests
This commit is contained in:
+2
-1
@@ -53,6 +53,7 @@ dev = [
|
||||
"mypy>=1.4.1",
|
||||
"poethepoet>=0.20.0",
|
||||
"pytest>=8.0.2",
|
||||
"pytest-xdist>=3.5.0",
|
||||
"ruff>=0.0.285",
|
||||
"toml-sort>=0.24.2",
|
||||
"types-pyyaml>=6.0.12.20241230",
|
||||
@@ -116,7 +117,7 @@ PYDEVD_DISABLE_FILE_VALIDATION = "1"
|
||||
# Uses PYTEST_MARKERS env var for default markers
|
||||
# For custom markers, one can either adjust the env var or just use -m option in the command line,
|
||||
# as the second -m option will override the first one.
|
||||
test = "pytest test -vv -m \"${PYTEST_MARKERS:-not java and not rust and not isolated_process}\""
|
||||
test = "pytest test -n auto -vv -m \"${PYTEST_MARKERS:-not java and not rust and not isolated_process}\""
|
||||
_black_check = "black --check src scripts test"
|
||||
_ruff_check = "ruff check src scripts test"
|
||||
_black_format = "black src scripts test"
|
||||
|
||||
Reference in New Issue
Block a user