• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

pantsbuild / pants / 20318360133 / 10
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 17 Dec 2025 10:19PM UTC
Files 1219
Run time 45s
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

17 Dec 2025 09:50PM UTC coverage: 49.798% (-0.002%) from 49.8%
20318360133.10

push

github

web-flow
Add [pytest].allow_empty_test_collection option to skip empty test runs (#22948)

Pytest returns exit code 5 when no tests are collected, e.g. when all
tests in a file are deselected via `-k` filtering or excluded via
markers. By default, pants treats this as a test failure.

With `allow_empty_test_collection = true`, exit code 5 is handled by
returning
[TestResult.no_tests_found_in_batch()](https://github.com/pantsbuild/pants/blob/3a34d021c/src/python/pants/core/goals/test.py#L130-L145)
instead, which skips the test run in the summary.

Fixes #22668

31495 of 63246 relevant lines covered (49.8%)

0.5 hits per line

Source Files on job test_python_linux_x86_64_4/10 - 20318360133.10
  • Tree
  • List 1219
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20318360133
  • 407284c6 on github
  • Prev Job for on main (#20253251567.1)
  • Next Job for on main (#20381535367.4)
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