Skip to content

Let CI show how many tests ran - #55

Merged
hyj28 merged 1 commit into
mainfrom
ci-shows-test-count
Sep 14, 2026
Merged

hyj28 merged 1 commit into
mainfrom
ci-shows-test-count

Conversation

@hyj28

@hyj28 hyj28 commented Sep 14, 2026

Copy link
Copy Markdown
Owner

The workflow ran uv run pytest -q, but pyproject.toml already sets addopts = "-q". The second one makes it -qq, which suppresses the summary line entirely — verified: redirected output ends at the 100% progress line with no count, while dropping the flag prints 1260 passed, 3 skipped.

A CI log that cannot show a test count cannot distinguish a green suite from one that collected nothing and exited 0 — which is precisely what the test-count gate in CONTRIBUTING.md exists to catch. The rule was written down and then broken in the file that implements it.

Also records, rather than closes, a failure I could not explain: one run on main at 817b96d reported 1 failed, 1259 passed; six subsequent runs were clean and the failing test's name was not captured. Not reproduced is not does not exist.

The workflow ran `uv run pytest -q`, but pyproject already sets addopts = "-q", so
the second one made it -qq and suppressed the summary line entirely. A CI log that
cannot show a test count cannot distinguish a green suite from one that collected
nothing and exited 0 - which is the exact failure the test-count gate in
CONTRIBUTING exists to catch. The rule was written down and then broken in the
place that implements it.

Also records a failure that has not been explained. One run on main at 817b96d
reported 1 failed, 1259 passed; six later runs were clean and the test name was not
captured. It is written down rather than closed, because not reproduced is not does
not exist.
@hyj28
hyj28 merged commit c2acd52 into main Sep 14, 2026
1 check failed
@hyj28
hyj28 deleted the ci-shows-test-count branch September 14, 2026 05:57
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