Add tests to gitlab ci
This MR configures a job called tests
to run flake8
and Python tests.
Old test, used for testing web deployment out of master branch has been renamed to pages_test
.
Thus, in master
we have the jobs: pages
and tests
.
In other branches we have the jobs: pages_test
and tests
.
You can see results of job execution in the branch I used for this MR.
I based my config in the following example: https://docs.gitlab.com/ee/ci/examples/test-and-deploy-python-application-to-heroku.html