#217 Blockerbugs rpmbuild broken by coverage testing by default
Closed: Fixed 11 months ago by frantisekz. Opened a year ago by frantisekz.

The rpm build fails since with:

pytest-3: error: unrecognized arguments: --cov-config=setup.cfg --cov-report --cov-report html

We can:
a) add cov libraries to the spec (doesn't make too much sense to test coverage during the build imo)
b) switch cov off by default
c) if it is possible, disable cov during build?
d) sed cov out of setup.cfg in .spec

@kparal pick one, destroy others... :)


Metadata Update from @kparal:
- Issue priority set to: High
- Issue tagged with: bug

a year ago

Issue tagged with: next

a year ago

The easiest solution turned out to be just adding the pytest-cov library during build. That doesn't test code coverage by default, just avoid the error about unknown args:
https://pagure.io/fedora-qa/blockerbugs/pull-request/226

Login to comment on this ticket.

Metadata
Boards 1
Next tasks Status: Done
Related Pull Requests
  • #226 Merged 11 months ago