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

TheKevJames / coveralls-python / 29761358087
93%
master: 96%

Build:
Build:
LAST BUILD BRANCH: kjames/retries
DEFAULT BRANCH: master
Ran 20 Jul 2026 04:52PM UTC
Jobs 5
Files 8
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

20 Jul 2026 04:49PM UTC coverage: 93.299% (-0.5%) from 93.802%
29761358087

Pull #754

github

TheKevJames
refactor(config)!: resolve every source through one uniform pipeline

Replace the ad-hoc per-service loaders (positional tuples, three different
pull-request parsers, the _coveralls_host/_token_required attrs, and call-time
os.environ reads for host/SSL) with a single resolve() that merges the CI
environment, COVERALLS_* env vars, the config file, and explicit overrides in
one documented precedence order. CI detection returns a uniform dict and every
service's pull-request value now goes through the one trailing-integer helper.
That also fixes TravisCI: a non-PR build sets TRAVIS_PULL_REQUEST=false, which
was previously submitted raw as service_pull_request='false'; the shared helper
drops the 'false' sentinel like the Buildkite branch already did.

token_required is not one of those merged config values: it is a calculated
guard against accidental tokenless uploads. resolve() takes it as an explicit
argument (the CLI derives it from --debug/--output) and waives it only on a CI
service that authenticates uploads itself (TOKENLESS_CI_SERVICES, e.g.
TravisCI). It is never read from the config file or env vars, so a committed
.coveralls.yml cannot silently disable the check.

changelog:
Configuration from every source -- CI detection, ``COVERALLS_*`` env vars, the
config file, and explicit overrides -- is now resolved through one pipeline with
a single documented precedence order (later wins), replacing the per-service
special cases. On TravisCI, non-pull-request builds no longer submit a bogus
``service_pull_request`` of ``"false"``. **Breaking (library API):**
``Coveralls()`` no longer accepts ``service_name`` as a dedicated argument; pass
it as a keyword override like any other field (e.g.
``Coveralls(service_name="travis-pro")``). Positional calls such as
``Coveralls(True, "travis-pro")`` must be updated.
Pull Request #754: refactor(config): resolve every source through one uniform pipeline

129 of 140 branches covered (92.14%)

Branch coverage included in aggregate %.

114 of 118 new or added lines in 2 files covered. (96.61%)

414 of 442 relevant lines covered (93.67%)

4.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
96.64
-3.36% coveralls/configuration.py
Jobs
ID Job ID Ran Files Coverage
1 29761358087.1 20 Jul 2026 04:52PM UTC 8
93.3
GitHub Action Run
2 29761358087.2 20 Jul 2026 04:52PM UTC 8
93.3
GitHub Action Run
3 29761358087.3 20 Jul 2026 04:52PM UTC 8
93.3
GitHub Action Run
4 29761358087.4 20 Jul 2026 04:52PM UTC 8
93.3
GitHub Action Run
5 29761358087.5 20 Jul 2026 04:52PM UTC 8
93.3
GitHub Action Run
Source Files on build 29761358087
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #754
  • PR Base - master (#29755480881)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc