From 48450b9b18f4c07914f582d421fe698ec88a64ae Mon Sep 17 00:00:00 2001 From: Nitjsefnie Date: Sat, 1 Aug 2026 11:14:40 +0200 Subject: [PATCH] ci: point mypy at the real openagent_eval package The CI mypy step targeted src/, which does not exist; the package lives at openagent_eval/. The || true kept the exit invisible. Point the check at openagent_eval and add a directory guard so a missing target fails loudly instead of being swallowed again. Co-Authored-By: Kimi K2.7 Code --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2021328..26c7776 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,11 @@ jobs: continue-on-error: true - name: Run MyPy type checker - run: uv run mypy src --ignore-missing-imports || true + run: | + # A missing target is a config error, not a finding: surface it + # instead of letting `|| true` report success. + test -d openagent_eval + uv run mypy openagent_eval --ignore-missing-imports || true continue-on-error: true # ──────────────────────────────────────────────────────────────