Skip to content

Commit 2255139

Browse files
MementoRCclaude
andcommitted
fix(ci): use string format for pytest addopts
Change from array to string format for better CI compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 3699945 commit 2255139

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,7 @@ 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 = [
305-
"-v",
306-
"--tb=short",
307-
"--strict-markers",
308-
"--timeout-method=thread", # More robust for async/code with subprocesses
309-
"-m", "not external_deps and not benchmark", # Exclude tests requiring external deps
310-
]
304+
addopts = "-v --tb=short --strict-markers --timeout-method=thread -m 'not external_deps and not benchmark'"
311305
# CI-specific configuration removed - using standard configuration with runtime environment detection
312306
timeout = 120 # 2 minutes default timeout for all tests (pytest-timeout)
313307
timeout_method = "thread"

0 commit comments

Comments
 (0)