[damned-lies] chore: use settings_test module in check strings



commit cd4f417a801793ea9a6285c3e7146aca49e5938a
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Mon May 9 15:06:21 2022 +0200

    chore: use settings_test module in check strings

 .gitlab-ci.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c68138db..ae64b429 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -161,8 +161,7 @@ code-string-changes:
   variables:
     TRANSLATION_DIFF_PO_FILENAME: translation_diff.po
   script:
-    - echo "SECRET_KEY = 'key'" > damnedlies/local_settings.py
-    - ./manage.py migrate
+    - ./manage.py migrate --settings damnedlies.settings_tests
     - source "./.githooks/check_messages_did_change_or_not.sh"
     - translation_diff=$(get_translations_changed_differences_po_file)
     - mv "${translation_diff}" "${TRANSLATION_DIFF_PO_FILENAME}"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]