From 188700b04f8852ed76bc17c6bbcd935efbeeb28a Mon Sep 17 00:00:00 2001 From: "Molecule AI Dev Engineer B (MiniMax)" Date: Thu, 18 Jun 2026 22:15:07 +0000 Subject: [PATCH] ci: run smoke/pytest suite in plugin CI (#14) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The validate job ran only validate-plugin.py + a secret scan. It did not execute the repo's documented smoke suite (tests/test_smoke.py / tests/test_dev_smoke.py), so the artifact-structure assertions in those files never actually ran in CI. Add a Run smoke tests step that invokes `python -m pytest tests/ -v` after the existing validate and secret-check steps. Additive — the existing two steps are untouched. The tests are pure unittest; pytest is installed in the step (already cached on the runner via pip cache) only for nicer discovery + summary output. PyYAML is already installed by the existing validate step. Verified locally: 14 tests pass for #13, 26 tests pass for #14. Closes #14 --- .gitea/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d56e0ce..72780c1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -66,3 +66,14 @@ jobs: else: print("::notice::No secrets detected") PYEOF + + - name: Run smoke tests + # Run the repo's unittest-based smoke suite (tests/test_*.py). + # Additive: existing validate + secret-check steps are unchanged. + # Uses stdlib unittest only (pyyaml is already installed above). + # pytest is invoked for nicer test discovery + summary output; the + # tests themselves are pure unittest, so this works without adding + # any new runtime dependency. + run: | + pip install pytest -q + python -m pytest tests/ -v \ No newline at end of file -- 2.52.0