From 12e4bf8614a63e375314ae5e7ce2b31fdec93005 Mon Sep 17 00:00:00 2001 From: Claude Code Bot Date: Thu, 22 Oct 2026 15:33:34 -0700 Subject: [PATCH] feat(tests): run the tool suites in CI only The three run-tests.sh runners now refuse outside GitHub Actions, and CLAUDE.md says to run single test-*.sh files locally. Pairs with claude-config's full-suite hook. --- CLAUDE.md | 4 ++-- scripts/dependabot-digest/tests/run-tests.sh | 5 +++++ scripts/org-migration/tests/run-tests.sh | 5 +++++ scripts/site-monitor/tests/run-tests.sh | 5 +++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 290d0a8..1fb2101 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co This repo is the **dev-env infrastructure repository** — it contains documentation, design plans, templates, and hook extensions for Andrew's Claude Code development environment. It is not an application codebase and there is no build step, but it is not command-free either: -- **Tests**: `bash scripts/org-migration/tests/run-tests.sh` runs the hermetic stub-`gh` suite for the org-migration tooling. Run it after any change under `scripts/org-migration/`. `bash scripts/dependabot-digest/tests/run-tests.sh` covers the Dependabot digest classifier and renderer; run it after any change under `scripts/dependabot-digest/`. `bash scripts/site-monitor/tests/run-tests.sh` covers the production-site monitor's alert transitions; run it after any change under `scripts/site-monitor/`. +- **Tests**: each tool has `tests/test-*.sh` files and a `tests/run-tests.sh` runner (org-migration, dependabot-digest, site-monitor). Locally, run only the `test-*.sh` files for the code you changed. The runners are the full suites: they run in CI only (`.github/workflows/tests.yml`) and refuse to run outside GitHub Actions. - **Lint**: `shellcheck -S info