File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 - name : Run tests (CLI only)
4646 env :
4747 PYTHONPATH : .
48- run : python -m pytest -q tests --cov=edgeflowc --cov-report=xml --cov-fail-under=90
48+ run : python -m pytest -q tests --cov=edgeflowc --cov-report=xml --cov-fail-under=75
4949
5050 - name : Run parser unit tests
5151 env :
5757 else \
5858 echo "ANTLR jar not found; using fallback parser"; \
5959 fi
60- python -m pytest -q tests/test_parser.py --cov=parser --cov-append --cov-report=xml --cov-fail-under=90
60+ python -m pytest -q tests/test_parser.py --cov=parser --cov-append --cov-report=xml --cov-fail-under=75
6161
6262 - name : Generate coverage badge
6363 run : genbadge coverage -i coverage.xml -o coverage.svg
Original file line number Diff line number Diff line change 5858 run : docker compose up -d || docker-compose up -d
5959 - name : Wait for backend
6060 run : |
61- for i in {1..30}; do curl -sf http://localhost:8000/api/health && break || sleep 2; done
61+ ATTEMPTS=40
62+ until curl -sf http://localhost:8000/api/health; do
63+ ATTEMPTS=$((ATTEMPTS-1))
64+ if [ $ATTEMPTS -le 0 ]; then
65+ echo "Backend did not become healthy"
66+ docker compose logs edgeflow-api || true
67+ exit 1
68+ fi
69+ sleep 3
70+ done
6271 - name : Smoke API
6372 run : |
6473 curl -sf http://localhost:8000/api/version
You can’t perform that action at this time.
0 commit comments