Skip to content
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

Move CI test to GitHub action #188

Merged
merged 8 commits into from
Nov 22, 2019
Merged

Move CI test to GitHub action #188

merged 8 commits into from
Nov 22, 2019

Conversation

yymao
Copy link
Member

@yymao yymao commented Nov 20, 2019

This PR moves the current travis-CI test to GitHub action because it runs faster, integrates with GitHub better, and has a cleaner output (so that it is easier to see what need to be fixed).

With this PR I also fix a few existing linting issues.

Copy link
Contributor

@evevkovacs evevkovacs left a comment

Choose a reason for hiding this comment

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

I don't understand the details in .github/workflows/pythonpackage.yml, but otherwise the structure makes sense. I think it would be very helpful to add some comments to indicate how to modify the file in case someone (other than Yao) needs to make changes. For example, if an additional library besides libgfortran needs to be installed, do we just duplicate that section for the new library? Alternatively give a pointer to instructions for how to maintain this file. Another question is what if additional python imports are required. Is that still handled in the setup.py?
The other changes are fine.

@yymao
Copy link
Member Author

yymao commented Nov 21, 2019

@evevkovacs thanks for the feedback, I've added an "Integration test" section to CONTRIBUTING.md.

See if that works.

Copy link
Contributor

@evevkovacs evevkovacs left a comment

Choose a reason for hiding this comment

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

Yes, I think this addresses the issue and will help a lot.

@evevkovacs
Copy link
Contributor

@yymao Thanks, you can merge, or let me know if you would like me to go ahead with it.

@yymao yymao merged commit b082cad into master Nov 22, 2019
@yymao yymao deleted the u/yymao/github-action branch November 22, 2019 00:25
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.

None yet

2 participants