mirror of
https://github.com/tiennm99/serena.git
synced 2026-08-14 12:26:46 +00:00
Testing: allow setting PYTEST_MARKERS to control which tests to run by default
This commit is contained in:
+3
-1
@@ -107,7 +107,9 @@ exclude = "^build/|^docs/"
|
||||
PYDEVD_DISABLE_FILE_VALIDATION = "1"
|
||||
|
||||
[tool.poe.tasks]
|
||||
test = "pytest test --color=yes"
|
||||
# Uses PYTEST_MARKERS env var for default markers (defaults to "not java and not rust")
|
||||
# Set PYTEST_MARKERS="" to run all tests
|
||||
test = "pytest test --color=yes -m \"${PYTEST_MARKERS:-not java and not rust}\""
|
||||
_black_check = "black --check --exclude src/multilspy/ src scripts test"
|
||||
_ruff_check = "ruff check --exclude .venv/ --exclude src/multilspy/ src scripts test"
|
||||
_black_format = "black --exclude .venv/|src/multilspy/ src scripts test"
|
||||
|
||||
Reference in New Issue
Block a user