Skip to content

Commit 2c6e0fb

Browse files
MementoRCclaude
andcommitted
fix(ci): use array format for addopts with marker filter
Run all tests but filter via markers in pytest config addopts array 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 2255139 commit 2c6e0fb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ install-editable = "python -m pip install -e ."
220220
dev-setup = "python -m pip install -e ."
221221

222222
# TIER 1: Core Quality Gates (ZERO-TOLERANCE)
223-
# Note: exclude external_deps and benchmark tests via addopts in pytest config
223+
# CI test excludes external_deps and benchmark tests
224224
test = "pytest tests/ -v -x"
225225
test-fast = "pytest tests/unit/ -v --maxfail=5"
226226
test-cov = "pytest tests/ --cov=src/uckn --cov-report=html --cov-report=term --cov-report=xml --cov-report=json -m 'not external_deps and not benchmark'"
@@ -301,7 +301,14 @@ pythonpath = ["src"] # Enable import of uckn package without installation
301301
python_files = ["test_*.py", "*_test.py"]
302302
python_classes = ["Test*"]
303303
python_functions = ["test_*"]
304-
addopts = "-v --tb=short --strict-markers --timeout-method=thread -m 'not external_deps and not benchmark'"
304+
addopts = [
305+
"-v",
306+
"--tb=short",
307+
"--strict-markers",
308+
"--timeout-method=thread",
309+
"-m",
310+
"not external_deps and not benchmark",
311+
]
305312
# CI-specific configuration removed - using standard configuration with runtime environment detection
306313
timeout = 120 # 2 minutes default timeout for all tests (pytest-timeout)
307314
timeout_method = "thread"

0 commit comments

Comments
 (0)