From 666ec94e0f1002d0bb8669a6f7900caf5133386e Mon Sep 17 00:00:00 2001 From: phernandez Date: Wed, 10 Jun 2026 10:21:21 -0500 Subject: [PATCH] perf(ci): run CI-tooling tests once, not on every matrix leg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tests/scripts and tests/ci exercise bossbot scripts and workflow guards — pure CI tooling. They were running on all unit matrix legs (3 Pythons x 2 backends x 3 OSes). Move them to a single test-ci-tooling run inside the Static Checks job. Signed-off-by: phernandez --- .github/workflows/test.yml | 4 ++++ justfile | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 328cf420..656182e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -54,6 +54,10 @@ jobs: run: | just typecheck + - name: Run CI tooling tests + run: | + just test-ci-tooling + - name: Run linting run: | just lint diff --git a/justfile b/justfile index aa54f665..b124a7a3 100644 --- a/justfile +++ b/justfile @@ -40,11 +40,15 @@ test-postgres: test-unit-postgres test-int-postgres # Run unit tests against SQLite test-unit-sqlite: testmon-seed - BASIC_MEMORY_ENV=test uv run pytest -p pytest_mock -v --no-cov {{TESTMON_FLAGS}} --testmon-env=unit-sqlite tests + BASIC_MEMORY_ENV=test uv run pytest -p pytest_mock -v --no-cov {{TESTMON_FLAGS}} --testmon-env=unit-sqlite --ignore=tests/scripts --ignore=tests/ci tests # Run unit tests against Postgres test-unit-postgres: testmon-seed - BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run pytest -p pytest_mock -v --no-cov {{TESTMON_FLAGS}} --testmon-env=unit-postgres tests + BASIC_MEMORY_ENV=test BASIC_MEMORY_TEST_POSTGRES=1 uv run pytest -p pytest_mock -v --no-cov {{TESTMON_FLAGS}} --testmon-env=unit-postgres --ignore=tests/scripts --ignore=tests/ci tests + +# Run CI-tooling tests (bossbot scripts, workflow guards) — once, not per matrix leg +test-ci-tooling: + BASIC_MEMORY_ENV=test uv run pytest -p pytest_mock -q --no-cov tests/scripts tests/ci # Run integration tests against SQLite (excludes semantic tests and on-demand benchmarks — # use just test-semantic / run benchmark files explicitly)