Skip to content

Proposed Tox and TravisCI for CI/CD#54

Merged
sayanchowdhury merged 1 commit intowaartaa:developfrom
slick666:tox
Apr 18, 2016
Merged

Proposed Tox and TravisCI for CI/CD#54
sayanchowdhury merged 1 commit intowaartaa:developfrom
slick666:tox

Conversation

@slick666
Copy link
Copy Markdown

@slick666 slick666 commented Apr 5, 2016

Here is my implementation of a simple testing scheme that would allow devs to run simple unit tests locally and to have all PRs and code be tested simply and automatically. This implementation isn't supposed to really do much testing at all but provide a framework for the work to be filled in as we go. We can leverage TravisCI to automatically test all PRs as they are proposed and know before merging if something is broken. We can add coverage as we have time or work with the effected code.

@rtnpro
Copy link
Copy Markdown
Member

rtnpro commented Apr 8, 2016

@slick666 Thanks for the pull request 👍 The changes look fine. I will check the changes at my end before merging it.

Also, will you be interested in setting up the process to test the asyncio based code for ircb?

@slick666
Copy link
Copy Markdown
Author

@rtnpro I would definitely be interested in getting code coverage for all the code, including the asyncio parts. I'm not sure you cover al the problems with simple unit tests though, I'm thinking some functional tests might be appropriate here. (i.e. this unit runs fine, and this unit runs fine but at the same times something fails.)

Also, I've set this up to run on my own TravisCI and would be willing to help you set up Travis for the project.

@slick666
Copy link
Copy Markdown
Author

Rebased, should be ready to roll

@slick666
Copy link
Copy Markdown
Author

@rtnpro @sayanchowdhury can this be merged? Is there anything I can to to help it get merged?

Comment thread MANIFEST.in Outdated
@@ -1,2 +1,4 @@
include README.rst
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this redundant?

Copy link
Copy Markdown
Author

@slick666 slick666 Apr 18, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not redundant but you're right to point it out. I added the README.md file to the manifest but I should have taken the ".rst" file off. I'm assuming that the project switch at some point. The README.md is needed because it's reference in the setup.py file and we need to make sure it's bundled up.

Added simple documentation under the tests folder
Added trivial test under the tests folder
did simple pep8 cleanup to fix the pep8 tox test
Added TravisCI integration
@slick666
Copy link
Copy Markdown
Author

rebased

@sayanchowdhury sayanchowdhury merged commit e596ff2 into waartaa:develop Apr 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants