Skip to content

tests: CI runs Claude Code's own checks of the plugin, evals/ is removed - #1

Merged
hwein merged 2 commits into
mainfrom
tests-ci-and-remove-evals
Nov 14, 2026
Merged

hwein merged 2 commits into
mainfrom
tests-ci-and-remove-evals

Conversation

@hwein

@hwein hwein commented Nov 14, 2026

Copy link
Copy Markdown
Owner

A second CI job plugin (Linux and Windows, no login, no model): claude plugin validate ., claude plugin test and the install path (claude plugin marketplace add, claude plugin install, the installed version equals plugin.json).

The comparison test under evals/ is removed (71 files) together with the test of evals/refusals.py in hooks/test_hooks.py (177 tests). CLAUDE.md: section Tests replaces Evals. .gitignore: evals/results/.

Run locally on Claude Code 2.1.322, Windows: hook tests 177 OK, validate passed, 13 mod tests passed, installed version 0.6.6 as expected. The new job has not run on GitHub runners before this pull request.

… test under evals/ is removed

A second CI job `plugin` (Linux and Windows, no login, no model): `claude plugin validate .`, `claude plugin test`
(the mod's 13 tests) and the install path (`claude plugin marketplace add`, `claude plugin install`, the installed
version equals plugin.json). Run locally on Claude Code 2.1.322: all three pass.

evals/ (run.py, report.py, fixture.py, checklib.py, common.py, refusals.py, six cases, 45 result files) is removed:
a result of the rework stand went stale with every commit to a plugin path (report.py counted 0 of 18 runs on HEAD),
and no CI step ran it. The folder is kept for `claude plugin eval` cases; its results/ is ignored. On native Windows
`claude plugin eval` runs a case without a shell grant and without a scaffold script only (measured 2026-11-14).

test_hooks.py loses the test of evals/refusals.py (177 tests). CLAUDE.md: section Tests replaces Evals.
The runner context is not available in a job's env: the first run of the workflow ended after 0 s with a workflow file
issue (run 43621323572). The install step writes CLAUDE_CONFIG_DIR to GITHUB_ENV from RUNNER_TEMP instead.
@hwein
hwein merged commit d3aec67 into main Nov 14, 2026
8 checks passed
@hwein
hwein deleted the tests-ci-and-remove-evals branch November 14, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant