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

Adding python-app.yml for Github Action CI #294

Merged
merged 7 commits into from
Mar 12, 2021
Merged

Conversation

jinimukh
Copy link
Member

@jinimukh jinimukh commented Mar 3, 2021

Overview

This PR includes a GitHub Actions File that will take the place of the .travis.yml file.

Changes

  • Add .github/workflows/python-app.yml
  • Remove .travis.yml

@jinimukh jinimukh requested a review from dorisjlee March 4, 2021 00:05
@jinimukh
Copy link
Member Author

jinimukh commented Mar 4, 2021

After we merge this in, we should delete the branch! @dorisjlee

python -m pytest tests/*.py
- name: Code Coverage Report
run: |
pytest --cov-report term --cov=lux tests/
Copy link
Member

@dorisjlee dorisjlee Mar 5, 2021

Choose a reason for hiding this comment

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

I know that this is probably copied over from what we originally had in the .travis.yml, but it looks like this line rerun the test suite again with the coverage report? The test line runs for about 3 minutes and the code coverage runs for another 4 minutes.
image

Could we combine this line with the earlier python -m pytest tests/*.py so that we only need to run the test suite once?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me check.

@jinimukh
Copy link
Member Author

@dorisjlee This is ready to merge -- failing pytest causes the exit code returned to be 1!

@dorisjlee dorisjlee changed the title Create python-app.yml Adding python-app.yml for Github Action CI Mar 12, 2021
@dorisjlee dorisjlee merged commit 4de06dc into master Mar 12, 2021
@jinimukh jinimukh self-assigned this Mar 12, 2021
@dorisjlee dorisjlee deleted the jinimukh-patch-1 branch April 5, 2021 19:19
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.

2 participants