perf(ci): run CI-tooling tests once, not on every matrix leg

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 <paul@basicmachines.co>
This commit is contained in:
phernandez
2026-06-10 10:21:21 -05:00
parent 99ea2514dd
commit 666ec94e0f
2 changed files with 10 additions and 2 deletions
+4
View File
@@ -54,6 +54,10 @@ jobs:
run: |
just typecheck
- name: Run CI tooling tests
run: |
just test-ci-tooling
- name: Run linting
run: |
just lint
+6 -2
View File
@@ -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)