ci: longer review-server health wait; env PYTHONPATH for pytest
CI / skip-ci-check (pull_request) Successful in 30s
CI / secret-scan (pull_request) Successful in 29s
CI / python-ci (pull_request) Failing after 1m19s

This commit is contained in:
2026-08-05 19:17:42 -04:00
parent bf685107d8
commit 4edd2047c0
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -49,7 +49,7 @@ jobs:
pip install bandit pip-audit ruff --break-system-packages
- name: Ruff lint
run: python3 -m ruff check . --isolated
run: python3 -m ruff check .
- name: Bandit (advisory)
run: bandit -r . -q || true
@@ -58,11 +58,12 @@ jobs:
run: pip-audit -r requirements.txt 2>/dev/null || pip-audit 2>/dev/null || true
- name: Pytest
env:
PYTHONPATH: .
run: |
if [ -d tests ] || ls test_*.py *_test.py 2>/dev/null; then
pip install pytest --break-system-packages
export PYTHONPATH=.
python3 -m pytest -q
pip install -r requirements-dev.txt --break-system-packages
python3 -m pytest -q --tb=short
else
echo "No tests found — skip"
fi
+1 -1
View File
@@ -69,7 +69,7 @@ def _free_port() -> int:
return s.getsockname()[1]
def _wait_health(url: str, timeout: float = 8.0) -> None:
def _wait_health(url: str, timeout: float = 30.0) -> None:
deadline = time.time() + timeout
while time.time() < deadline:
try: