Add CI failure diagnostics
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user