Skip to content

ci: add sess coverage with covr 4.0.0 - #1956

Merged
renkun-ken merged 1 commit into
mainfrom
codex/sess-covr-coverage
Nov 17, 2026
Merged

renkun-ken merged 1 commit into
mainfrom
codex/sess-covr-coverage

Conversation

@renkun-ken

Copy link
Copy Markdown
Member

The sess tests currently run without a coverage report. Add an Ubuntu R workflow job and pnpm run coverage:sess to run the existing tinytest suite under covr 4.0.0, publish the line coverage percentage in the job summary, and retain the HTML report with its assets, Cobertura XML, R coverage data and test logs.

Coverage uses the prepared sess bundle so its Git-dependent bootstrap does not rewrite source files. Install covr 4.0.0 separately with runtime dependencies because its self-Suggests entry conflicts with an exact pak pin when resolving all suggested dependencies. Test and tooling errors fail the check; there is no percentage threshold. Document local setup and the scope of the package report.

Validation:

  • Local coverage run on macOS: all 1,687 tinytest results passed; 67.12% line coverage.
  • An intentional failure in a temporary package copy returned a failing exit status and retained the failure log.
  • CI-equivalent dependency resolution included every sess Suggests package; the exact remotes install route installed covr 4.0.0 in a temporary library.
  • R formatting, Arity lint, focused lintr, workflow YAML parsing, report assets and whitespace checks passed.

@renkun-ken
renkun-ken requested a review from eitsupi November 17, 2026 03:32
@renkun-ken
renkun-ken merged commit f3b9e27 into main Nov 17, 2026
13 of 14 checks passed
@renkun-ken
renkun-ken deleted the codex/sess-covr-coverage branch November 17, 2026 08: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.

2 participants