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

rero / rero-invenio-thumbnails / 23750211770
95%

Build:
DEFAULT BRANCH: staging
Ran 30 Mar 2026 02:32PM UTC
Jobs 1
Files 20
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

30 Mar 2026 02:31PM UTC coverage: 95.154%. First build
23750211770

push

github

rerowep
refactor: remove type annotations, dynamic provider names, and class-based tests

*3 Remove all type annotations from api.py, ext.py, contrib/api.py,
  utils.py, and all provider modules
* Move provider name constants out of config.py; define each provider's
  name as a class attribute (name = "bnf" etc.) — single source of truth
* Move _load_provider_constants from config.py to ext.py using the
  Invenio entry-point pattern; init_config checks key existence so an
  explicit empty providers list is preserved
* Make RERO_INVENIO_THUMBNAILS_MIN_IMAGE_DIMENSION readable from app
  config at call time instead of import time
* Remove pytest detection from utils.py; disable retries in tests via
  RERO_THUMBNAILS_DISABLE_RETRIES=1 set in conftest.py
* Rewrite all test files as plain functions (no classes), following
  rero-ils style
* Add tests/test_views.py with dedicated view tests reaching 100%
  coverage of views.py, including the max_age=0 and exception branches

Co-Authored-by: Peter Weber <peter.weber@rero.ch>

432 of 454 relevant lines covered (95.15%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23750211770.1 30 Mar 2026 02:32PM UTC 20
95.15
GitHub Action Run
Source Files on build 23750211770
  • Tree
  • List 20
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23750211770
  • 13d0709e on github
  • Next Build on staging (#23751036089)
  • 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