PunimTag Web Application - Major Feature Release #1
@ -69,3 +69,4 @@ The test results summary step uses `|| true` for parsing errors:
|
||||
- Parsing errors shouldn't fail the job
|
||||
- Actual test failures are caught by the test step itself
|
||||
|
||||
|
||||
|
||||
@ -978,5 +978,49 @@ jobs:
|
||||
echo " 3. For local debugging, run \`pytest tests/ -v\` in your dev environment."
|
||||
} >> "$GITHUB_STEP_SUMMARY" || true
|
||||
fi
|
||||
continue-on-error: true
|
||||
|
||||
- name: Check for job failures
|
||||
if: always()
|
||||
run: |
|
||||
FAILED=false
|
||||
if [ "x${{ needs.lint-and-type-check.result }}" = "xfailure" ]; then
|
||||
echo "❌ Lint & Type Check job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.python-lint.result }}" = "xfailure" ]; then
|
||||
echo "❌ Python Lint job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.test-backend.result }}" = "xfailure" ]; then
|
||||
echo "❌ Backend Tests job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.build.result }}" = "xfailure" ]; then
|
||||
echo "❌ Build job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.secret-scanning.result }}" = "xfailure" ]; then
|
||||
echo "❌ Secret Scanning job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.dependency-scan.result }}" = "xfailure" ]; then
|
||||
echo "❌ Dependency Scan job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "x${{ needs.sast-scan.result }}" = "xfailure" ]; then
|
||||
echo "❌ SAST Scan job failed"
|
||||
FAILED=true
|
||||
fi
|
||||
if [ "$FAILED" = "true" ]; then
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
echo "❌ WORKFLOW FAILED - One or more jobs failed"
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
echo ""
|
||||
echo "Check the job results above to see which jobs failed."
|
||||
exit 1
|
||||
else
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
echo "✅ WORKFLOW SUCCESS - All jobs passed"
|
||||
echo "═══════════════════════════════════════════════════════════════"
|
||||
fi
|
||||
|
||||
|
||||
@ -26,3 +26,4 @@ markers =
|
||||
# from loading during tests (avoids illegal instruction errors on some CPUs)
|
||||
|
||||
|
||||
|
||||
|
||||
@ -110,3 +110,4 @@ In CI (GitHub Actions/Gitea Actions), test results appear in:
|
||||
- Verify all dependencies are installed: `./venv/bin/pip install -r requirements.txt`
|
||||
|
||||
|
||||
|
||||
|
||||
@ -206,3 +206,4 @@ echo ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -147,3 +147,4 @@ testQueries()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -17,3 +17,4 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user