Skip to content

Commit 7f38372

Browse files
authored
fix(test): keep real-CLI smoke tests out of the ordinary test target (#664) (#667)
* fix(test): keep real-CLI smoke tests out of the ordinary test target (#664) * docs(architecture): fix stale make-test composition claim make test now excludes tools/tests/test_cli_smoke.py (#664); update the quality-gates description so it no longer claims real-CLI smoke tests run as part of make test.
1 parent 960e111 commit 7f38372

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
run: uv sync --all-extras
154154

155155
- name: Run tools test suite
156-
run: uv run pytest -q ../../tools/tests/
156+
run: uv run pytest -q ../../tools/tests/ --ignore=../../tools/tests/test_cli_smoke.py
157157

158158
multi-harness-generate:
159159
name: Cross-harness generation + validation

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Three mechanical gates, each runnable as a make target and wired into CI:
7272

7373
1. **`make validate`** — structural validation of every generated artifact. Errors block CI; warnings advisory.
7474
2. **`make garden`** — drift detection (dead links, stale artifacts, oversize skills, marketplace orphans). Sorted by severity with per-kind summary.
75-
3. **`make test`**full pytest suite (386 tests: adapters + validators + gardener + real-source + round-trip + real-CLI smoke).
75+
3. **`make test`** — pytest suite (adapters + validators + gardener + real-source + round-trip). Real-CLI smoke tests are excluded; run them separately via `make smoke-test`.
7676

7777
CI workflow: [`.github/workflows/validate.yml`](.github/workflows/validate.yml) runs all three on every PR, plus a `cli-smoke-test` job that installs OpenCode + Gemini and exercises them against the generated artifacts.
7878

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ garden:
195195

196196
# Full pytest suite — plugin-eval framework + tools/ adapters/validators/gardener.
197197
test:
198-
uv run $(EVAL_PROJECT) pytest -q plugins/plugin-eval/ tools/tests/
198+
uv run $(EVAL_PROJECT) pytest -q plugins/plugin-eval/ tools/tests/ --ignore=tools/tests/test_cli_smoke.py
199199

200200
# Real-CLI smoke test. Generates artifacts (if not present), then invokes whichever
201201
# of opencode / gemini / codex / claude are on PATH. Per-CLI tests skip gracefully

0 commit comments

Comments
 (0)