Add CI failure diagnostics

This commit is contained in:
732642856
2026-06-24 15:22:54 +08:00
parent dec62c450a
commit 9a9f403d2b
6 changed files with 53 additions and 4 deletions
+9 -1
View File
@@ -46,7 +46,15 @@ jobs:
run: python -m py_compile scripts/*.py jyotish_vedic/*.py mcp_server.py
- name: Run quick quality gate
run: python scripts/run_quality_gate.py --profile quick --skip-yoga-logic
run: |
mkdir -p artifacts
python scripts/run_quality_gate.py --profile quick --skip-yoga-logic 2>&1 | tee artifacts/quick-quality-gate.log
- name: Upload quick quality gate diagnostics
if: always()
uses: actions/upload-artifact@v4
with:
name: quick-quality-gate-diagnostics
path: artifacts/
- name: Build frontend
run: npm run build --prefix jyotish-app
+9 -1
View File
@@ -52,4 +52,12 @@ jobs:
PY
- name: Run release quality gate
run: python scripts/run_quality_gate.py --profile release --frontend-click-timeout 240
run: |
mkdir -p artifacts
python scripts/run_quality_gate.py --profile release --frontend-click-timeout 240 2>&1 | tee artifacts/release-quality-gate.log
- name: Upload release quality gate diagnostics
if: always()
uses: actions/upload-artifact@v4
with:
name: release-quality-gate-diagnostics
path: artifacts/
+9 -1
View File
@@ -31,7 +31,15 @@ jobs:
npm --prefix jyotish-app exec -- vite --version
test -x jyotish-app/node_modules/.bin/vite
- name: Run pytest suite
run: python -m pytest -q
run: |
mkdir -p artifacts
python -m pytest -vv --maxfail=1 --junitxml=artifacts/pytest.xml 2>&1 | tee artifacts/pytest.log
- name: Upload pytest diagnostics
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-diagnostics
path: artifacts/
- name: Run legacy runner
run: python tests/run_all.py
- name: Build frontend