Skip to content

Commit eb2d4e3

Browse files
Fix CI integration test trigger pattern to include CLI tests
Update INTEGRATION_PATTERNS to: - Match test_cli_integration.py (was only matching test_integration*.py) - Include src/cli/ changes as trigger for CLI integration tests
1 parent a28db73 commit eb2d4e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ jobs:
9090
echo "$CHANGED"
9191
9292
# Integration tests should run if these paths change:
93-
# - Integration test file itself
93+
# - Integration test files (test_integration*.py, test_cli_integration.py)
9494
# - Agent code (workflow, annotation, evaluation, etc.)
9595
# - Validation code
9696
# - OpenRouter LLM utility
97-
INTEGRATION_PATTERNS="tests/test_integration|src/agents/|src/validation/|src/utils/openrouter"
97+
# - CLI code (for CLI integration tests)
98+
INTEGRATION_PATTERNS="tests/test_.*integration|src/agents/|src/validation/|src/utils/openrouter|src/cli/"
9899
99100
if echo "$CHANGED" | grep -qE "$INTEGRATION_PATTERNS"; then
100101
echo "integration_needed=true" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)