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
@@ -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