New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github workflow for testing and linting. #54
Conversation
Hi @wsad1 talking with @manujosephv I have some suggestions:
|
E501 for sure, and I see there are a few corrections to be done for linting.. Will have to take that up after merging @Actis92 PR. But lets only fail the overall workflow (i.e. the unit test and deployment when some serious errors like syntax errors E9,F63,F7,F82. And also ignore the files in examples folder from linting. And we should also only build and upload to PyPi for commits with tags. Rest of the commits just have linting and unit test.. |
For what concern build and upload on PyPI when a tags is pushed, in my repo I have used a different pipeline like this one in case can be helpful for you
|
@Actis92 thanks for your comments.
|
@manujosephv yes deploying to pypi is still missing. I was planning to add that as a separate PR once we merge this. |
@wsad1 for what concern the PR for the deployment workflow You can use my code, in this moment I'm not working on a PR. Instead for what concern tox and github actions, I know that can be configured to do almost the same job. My observation was in order to guarantee the consistency between local development and github actions, because the risk is that locally I execute tox before push the code but it can be configured differently from github actions. In any case for me it's ok to proceed also with the solution proposed by @wsad1 :) |
Thanks @Actis92 , this is a good point. The configurations in actions might be different. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.. Approving..
Merging this PR. In the next PR let's include PyPi push, tox cleanup, and updating documentation. |
Added workflows for linting and testing.