-
Notifications
You must be signed in to change notification settings - Fork 17
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
CI - Add Unit Tests and Coverage #53
base: master
Are you sure you want to change the base?
CI - Add Unit Tests and Coverage #53
Conversation
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.
Just some minor comments.
LGTM.
please resolve conflicts |
@@ -1,3 +1,5 @@ | |||
Flask==1.1.1 | |||
flask-sqlalchemy==2.4.1 | |||
psycopg2-binary==2.8.5 | |||
pytest==5.2.0 | |||
pytest-cov==2.9.0 |
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.
You may want to separate the testing libraries to a different requirements file, say requirements-test.txt, Inside the tests folder, since they're not used in the app itself.
Runs pytest including coverage in the CI.
Uses pytest and pytest-cov.
Added a dummy test only for checking.