#217 Blockerbugs rpmbuild broken by coverage testing by default
Closed: Fixed 3 years ago by frantisekz. Opened 3 years 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

3 years ago

Issue tagged with: next

3 years 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

Log in to comment on this ticket.

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