There are some basic tests that run tasks from the pipeline and populate data into my existing tables, although these won't test your own models.
You will need to test manually the migration of your models into an empty postgres database.
There is a docker container that you can build, based on the Dockerfile in this repo. From within the cloned repo:
- docker build -t pipeline .
- docker run --user root -it pipeline /bin/bash
- source activate pipeline
- python manage.py makemigrations
- python manage.py migrate
If, in step 4 or 5, any errors are thrown, you will need to troubleshoot based on those errors, before the code makes it into the master branch.
I will update my TravisCI tests to make sure the integration tests fail if the migrate tasks listed above don't work.