From d17155700ca31e6a1378abbcde0d075657e42543 Mon Sep 17 00:00:00 2001 From: Vinod Date: Tue, 14 Jul 2026 02:35:40 +0200 Subject: [PATCH] fix: eval-gate step still hard-failed on exit 5 GitHub Actions run: steps default to bash -e, so the pytest exit-5 guard added in PR #2 never executed -- set -e killed the script the instant pytest returned nonzero, before reaching the status=$? check. Add set +e. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01LEMe98XKYeMkUipkDqEjUN --- .github/workflows/eval-gate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/eval-gate.yml b/.github/workflows/eval-gate.yml index 3d7a9f1..4710748 100644 --- a/.github/workflows/eval-gate.yml +++ b/.github/workflows/eval-gate.yml @@ -44,6 +44,7 @@ jobs: - name: Run evaluation suite run: | + set +e uv run pytest tests/ -v -k "eval" --tb=short status=$? if [ "$status" -eq 5 ]; then