Unverified Commit e1e26d2d by Alexis Aoun Committed by Paul B

enhancement: change script location and header, add django setting variable

parent f4bd79be
...@@ -4,6 +4,7 @@ stages: ...@@ -4,6 +4,7 @@ stages:
variables: variables:
COUCHDB_USER: "ci-only" COUCHDB_USER: "ci-only"
COUCHDB_PASSWORD: "ci-only" COUCHDB_PASSWORD: "ci-only"
DJANGO_SETTINGS_MODULE: "outils.settings"
lint:js: lint:js:
stage: test stage: test
...@@ -26,7 +27,7 @@ unit:django: ...@@ -26,7 +27,7 @@ unit:django:
paths: paths:
- "$CI_PROJECT_DIR/pip-cache" - "$CI_PROJECT_DIR/pip-cache"
before_script: before_script:
- ./unit_setup.sh - ./scripts/ci/unit_setup.sh
script: script:
- python manage.py test - python manage.py test
#!/bin/sh #!/usr/bin/env sh
set -euo pipefail
#setup de l'environnement de test #setup de l'environnement de test
pip install -U pip setuptools pip install -U pip setuptools
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment