Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,14 @@ jobs:

- name: Agent eval suite (Layer 2 thresholds)
if: steps.eval_key.outputs.skip != 'true'
# GH Actions bash uses -e: pytest failure must not abort before we handle EXIT.
continue-on-error: ${{ vars.EVAL_GATE_ENFORCED != 'true' }}
run: |
mkdir -p eval-results
set -o pipefail
set +e
PYTHONPATH=.:backend pytest tests/eval/ -v --tb=short -m "eval" \
| tee eval-results/eval.log
EXIT=$?
EXIT=${PIPESTATUS[0]}
if [ "$EXIT" -ne 0 ]; then
if [ "${EVAL_GATE_ENFORCED}" = "true" ]; then
echo "::error::Agent eval below threshold — merge blocked (EVAL_GATE_ENFORCED=true)"
Expand Down
Loading