An error occurred while fetching the assigned milestone of the selected merge_request.
Update Django.gitlab-ci.yml
All threads resolved!
All threads resolved!
What does this MR do?
This updates the Django CI config so it's easier for others in the future to get tests passing.
It also removes the redundant migrate, as Django will create a test database automatically and run all migrations on it. This functionality works this way in case you need to ever run all your migrations from scratch again (i.e server dies).
Are there points in the code the reviewer needs to double check?
I don't know how to do it, but creating a file in the pre-test steps with the DATABASES config would make this template more plug-n-play.
Why was this MR needed?
Migrate wasn't needed and it isn't clear otherwise how to get tests working
Merge request reports
Activity
- Resolved by Zeger-Jan van de Weg
- Resolved by Zeger-Jan van de Weg
mentioned in commit 94fcb77e
Please register or sign in to reply