-
Notifications
You must be signed in to change notification settings - Fork 370
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
Conversation
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/ |
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.
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.
Could we combine this line with the earlier python -m pytest tests/*.py
so that we only need to run the test suite once?
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.
Let me check.
@dorisjlee This is ready to merge -- failing pytest causes the exit code returned to be 1! |
Overview
This PR includes a GitHub Actions File that will take the place of the
.travis.yml
file.Changes
.github/workflows/python-app.yml
.travis.yml