diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d68587f04b426c39f72d92c35c089a500836c7c6..d39a03c5e7421d05e7ed2eede283fcbb31c65052 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,18 @@ stages: + - test - build - deploy +unittest: + stage: test + image: python:3.7 + script: + - cd app + - pip install -r requirements.txt + - python manage.py migrate + - python manage.py test + build: when: manual stage: build