diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2119b3163e60312db3071dfe8bc257cd5dccd221..00f5fdab9d34c5fd7560ca9060c5eb72d6e9f107 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,7 +16,8 @@ run_tests:
   stage: test
   script:
     - echo "Running tests"
-    - python src/manage.py test
+    - envsubst < src/gms/settings_local.example.py > src/gms/settings_local.py
+    - python src/manage.py check
 
 deploy_testing:
   stage: deploy