fix deps, improve develop and test workflow
ClosedPublic

Authored by kparal on Feb 10 2017, 10:26 AM.

Details

Summary
  • Fix dependencies in requirements.txt: we need fedmsg[consumers], not

just fedmsg, and add some missing ones

  • Remove deps from setup.py, because it was not up-to-date anyway and

there's little sense to keep deps defined there as well, as long as we
don't publish this on PyPI

  • Make all Makefile targets phony (defined at the very same place, so

that it's not forgotten next time we add a target)

  • Print test coverage when the test suite is run
  • Use virtualenv --ignore-installed to make sure all the deps possible

are installed into virtualenv, regardless of system libs.

  • Extend instructions how to set up a development environment
  • Add testing instructions
Test Plan

Tried the dev setup steps, clean virtualenv, and make test, seems to work

Diff Detail

Repository
rTRGR taskotron-trigger
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal retitled this revision from to fix deps, improve develop and test workflow.Feb 10 2017, 10:26 AM
kparal updated this object.
kparal edited the test plan for this revision. (Show Details)
kparal added a reviewer: taskotron-trigger.
kparal updated this revision to Diff 2878.Feb 10 2017, 11:57 AM
  • spec: use the same test approach as we do in development
mkrizek accepted this revision.Feb 10 2017, 12:41 PM
mkrizek added a reviewer: mkrizek.
This revision is now accepted and ready to land.Feb 10 2017, 12:41 PM
Closed by commit rTRGR5389bf71469f: fix deps, improve develop and test workflow (authored by Kamil Páral <kparal@redhat.com>). · Explain WhyFeb 10 2017, 12:54 PM
This revision was automatically updated to reflect the committed changes.