From cbae23b3254ce31cbbbd8bc2b66ae543fb05dc62 Mon Sep 17 00:00:00 2001 From: scaleborg <218523607+scaleborg@users.noreply.github.com> Date: Wed, 18 Mar 2026 11:40:05 +0100 Subject: [PATCH] chore(ci): remove redundant backend steps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove syntax check (py_compile) — ruff already catches syntax errors - Remove import check — redundant with test suite - Remove stale ruff per-file-ignores for assessment.py (file is clean) - Remove redundant `if: pull_request` on eval gate (parent job gates) --- .github/workflows/ci.yml | 11 +---------- .secrets.baseline | 6 +++--- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72519952..c4333c89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,16 +108,8 @@ jobs: timeout-minutes: 6 run: uv pip install --system -r requirements.txt ruff - - name: Syntax check - run: python -m py_compile backend/main.py - - name: Ruff lint - run: ruff check backend/ --extend-per-file-ignores "backend/services/career/assessment.py:E402" --extend-per-file-ignores "backend/services/career/assessment.py:F841" - - - name: Import check - env: - OPENAI_API_KEY: sk-test - run: python -c "from backend.config import Settings; print('imports ok')" + run: ruff check backend/ - name: Run tests timeout-minutes: 12 @@ -127,7 +119,6 @@ jobs: run: python -m pytest -q - name: Eval gate (full) - if: github.event_name == 'pull_request' timeout-minutes: 8 env: OPENAI_API_KEY: ${{ secrets.EVAL_OPENAI_API_KEY }} diff --git a/.secrets.baseline b/.secrets.baseline index 65313a38..f304dc02 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -133,14 +133,14 @@ "filename": ".github/workflows/ci.yml", "hashed_secret": "e9a5f12a8ecbb3eb46eca5096b5c52aa5e7c9fdd", "is_verified": false, - "line_number": 119 + "line_number": 117 }, { "type": "Secret Keyword", "filename": ".github/workflows/ci.yml", "hashed_secret": "b813a809040e16e1cbce1fadca2f00a3ce656b39", "is_verified": false, - "line_number": 126 + "line_number": 118 } ], "frontend/pnpm-lock.yaml": [ @@ -5105,5 +5105,5 @@ } ] }, - "generated_at": "2026-03-10T15:40:42Z" + "generated_at": "2026-03-18T10:40:00Z" }