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

zopefoundation / zc.recipe.testrunner / 14350068748
100%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2025 06:00AM UTC
Jobs 1
Files 2
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

09 Apr 2025 05:59AM UTC coverage: 100.0%. Remained the same
14350068748

push

github

web-flow
Clarify and try to fix location error (#21)

* If distribution is not found, explicitly show its name.

Otherwise you get a very uninformative error:

```
While:
  Installing test.
...
  File "/home/runner/eggs/zc.recipe.testrunner-3.1-py3.10.egg/zc/recipe/testrunner/__init__.py", line 48, in install
    test_paths = [ws.find(pkg_resources.Requirement.parse(spec)).location
  File "/home/runner/eggs/zc.recipe.testrunner-3.1-py3.10.egg/zc/recipe/testrunner/__init__.py", line 48, in <listcomp>
    test_paths = [ws.find(pkg_resources.Requirement.parse(spec)).location
AttributeError: 'NoneType' object has no attribute 'location'
```

See for example [this test run](https://github.com/collective/collective.exportimport/actions/runs/14313320340/job/40167791654#step:8:1178).

With an explicit error raised, I see which package gives a problem:

```
ValueError: Requirement not found in working set: plone.app.upgrade
```

* If distribution is not found, try its canonical name.

* Pragmatically except missing test coverage for distribution not found.

This is highly setuptools/buildout-version dependent.

20 of 20 branches covered (100.0%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 1 file covered. (100.0%)

110 of 110 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14350068748.1 09 Apr 2025 06:00AM UTC 2
100.0
GitHub Action Run
Source Files on build 14350068748
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5b06c3db on github
  • Prev Build on master (#13748208848)
  • Next Build on master (#14350126553)
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

© 2025 Coveralls, Inc