Skip to content

Summarise checks against limits in the test reports - #24

Merged
dav-og merged 4 commits into
devfrom
feature/test-report-summary
Dec 2, 2026
Merged

dav-og merged 4 commits into
devfrom
feature/test-report-summary

Conversation

@dav-og

@dav-og dav-og commented Dec 2, 2026

Copy link
Copy Markdown
Member

No description provided.

The regression, verification and comparison reports gain a section with one row per case: its status, the number of checks, and the check closest to its limit with the measured value, the limit and the share of the limit used. Cases that are not PASS come first, and every check outside a limit or a warning threshold is listed below the table. The figures and the per-case sections are unchanged.

The numbers are read from the status files that the comparisons already write (tests/utilities/comparison_verdict.py); nothing new is computed. Until now a WARN in a passing run, and how close a passing case was to its limit, could only be found by opening the figure of each case.

tests/unit/python/test_report_summary.py covers the share calculation, the ordering, the listing of checks outside a limit and names that contain a pipe.
…ery CI run.

The Linux Chrono job now installs pandoc and LaTeX on every run, so the regression report is written as PDF for each pull request; the verification and comparison PDFs still come with the full suites. A new artifact, pdf-reports, holds the PDFs alone with their figures resampled to 150 dpi by Ghostscript (lossless) for reading on screen; if the resampling fails the full-resolution PDF is uploaded and a warning is logged.

scripts/ci/report_section.py copies the checks-against-limits section of each report to the page of the workflow run, for every platform.

tests/README.md describes the summary section and where the PDFs are.
The Chrono jobs on Linux, macOS and Windows now hand over their Markdown reports and figures, and a new job, PDF test reports, converts them all to PDF on one Linux runner with pandoc and LaTeX (scripts/ci/render_reports.py, using the PDF settings of tests/utilities/report_generator.py and the platform in the subtitle). It uploads one artifact, test-reports, with linux/, macos/ and windows/ folders and the figures resampled to 150 dpi, then deletes the intermediate report-sources-* artifacts.

This replaces the per-platform chrono-*-reports artifacts and the Linux-only pdf-reports artifact, and LaTeX is no longer installed in the Linux test job. The regression reports are in every run; verification and comparison with the full suites. A report that cannot be converted, or a required one that is missing for a platform that produced reports, fails the job, and All checks requires it.
@dav-og dav-og added full-tests Run the full test suites on all platforms in CI and removed full-tests Run the full test suites on all platforms in CI labels Dec 2, 2026
@dav-og dav-og added full-tests Run the full test suites on all platforms in CI and removed full-tests Run the full test suites on all platforms in CI labels Dec 2, 2026
@dav-og
dav-og marked this pull request as ready for review December 2, 2026 22:57
@dav-og
dav-og merged commit cfc1552 into dev Dec 2, 2026
14 of 16 checks passed
@dav-og
dav-og deleted the feature/test-report-summary branch December 2, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-tests Run the full test suites on all platforms in CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant