Skip to content

Commit 61daefa

Browse files
HumanBean17claude
andcommitted
fix: skip integration tests when JAVA_CODEBASE_RAG_RUN_HEAVY != "1"
The skipif checked env var existence, not value. CI sets JAVA_CODEBASE_RAG_RUN_HEAVY=0 which passed the existence check, causing tests to run and fail on missing .venv/bin/python. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 4e28fe4 commit 61daefa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_installer_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
@pytest.mark.skipif(
15-
"JAVA_CODEBASE_RAG_RUN_HEAVY" not in os.environ,
15+
os.environ.get("JAVA_CODEBASE_RAG_RUN_HEAVY") != "1",
1616
reason="Integration tests require JAVA_CODEBASE_RAG_RUN_HEAVY=1",
1717
)
1818
class TestInstallIntegration:

0 commit comments

Comments
 (0)