• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bluesky / hklpy2 / 24435988238
100%

Build:
DEFAULT BRANCH: main
Ran 15 Apr 2026 04:14AM UTC
Jobs 1
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Apr 2026 04:12AM UTC coverage: 100.0%. Remained the same
24435988238

push

github

web-flow
maint #331 automate diffractometers.rst generation on docs build (#333)

* maint #331 automate diffractometers.rst generation on docs build

make_geometries_doc.py:
- Replace timestamp header with a '.. solvers: name=version ...'
  sentinel that changes only when installed solver versions change.
- Add solver_versions(), sentinel_string(), is_stale() for version-based
  stale detection; log whether file is current or will be regenerated.
- Add solver_versions_table() to display solver name/version on the page.
- main() returns True if file was written, False if already current.

docs/source/conf.py:
- Add builder-inited hook (_generate_diffractometers_rst) that calls
  make_geometries_doc.main() before Sphinx reads any sources.
- Logs outcome (regenerated or current) as a diagnostic in all cases.

docs/source/diffractometers.rst:
- Regenerated with new sentinel format and Solver Versions table.
Agent: OpenCode (claudesonnet46)

* Potential fix for pull request finding 'Unnecessary lambda'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* fix #331 handle missing solver library in builder-inited hook

Wrap make_geometries_doc.main() in try/except so that environments
without libhkl (e.g. docs-only CI) log a warning and continue rather
than aborting the build with ExtensionError: No module named 'gi'.
Agent: OpenCode (claudesonnet46)

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

3101 of 3101 relevant lines covered (100.0%)

4.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24435988238.1 15 Apr 2026 04:21AM UTC 21
100.0
GitHub Action Run
Source Files on build 24435988238
  • Tree
  • List 21
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 046d7414 on github
  • Prev Build on main (#24423229690)
  • Next Build on main (#24438157823)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc