From 9ad4db096e0efa2eeebfc6f5a2eecb018b598acb Mon Sep 17 00:00:00 2001 From: Juniper Bevensee Date: Wed, 17 Jun 2026 13:21:56 +1200 Subject: [PATCH] ci(sanitization): install pytest for the scanner self-test step The self-tests step ran `python -m pytest` but the install step only installed `anthropic`, so the gate failed with "No module named pytest" on every PR (4/4 runs, since inception). Add pytest to the install line so the commons gate actually enforces in CI. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/sanitization.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sanitization.yml b/.github/workflows/sanitization.yml index c10cdc8..0f0aec7 100644 --- a/.github/workflows/sanitization.yml +++ b/.github/workflows/sanitization.yml @@ -24,8 +24,8 @@ jobs: with: python-version: "3.12" - - name: Install semantic-layer dep - run: pip install anthropic + - name: Install deps (semantic layer + self-tests) + run: pip install anthropic pytest - name: Scanner self-tests (deterministic, no key needed) run: python -m pytest tests/test_check_sanitization.py -q