Run code style tests only after tests proper
Otherwise this fails to run the tests entirely.
@@ -13,13 +13,13 @@ env:
- GH_TOKEN="dummygithubtoken"
before_script:
- - pycodestyle --exclude=migrations,settings.py,venv,lib_oval.py,test_ubuntu.py,test_suse.py,test_data_source.py --max-line-length=100 .
- psql -c "CREATE DATABASE vulnerablecode;" -U postgres
- ./manage.py migrate
script:
- ./manage.py collectstatic
- pytest
+ - pycodestyle --exclude=migrations,settings.py,venv,lib_oval.py,test_ubuntu.py,test_suse.py,test_data_source.py --max-line-length=100 .
notifications:
email: false
