Skip to content
Snippets Groups Projects
Commit 1a4742f8 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Run unit tests on Gitlab CI

parent 8a913adf
No related branches found
No related tags found
No related merge requests found
stages:
- test
backend-tests:
stage: test
image: python:3.5-alpine
services:
- postgres:latest
variables:
# For the postgres image
POSTGRES_DB: arkindex_dev
POSTGRES_USER: devuser
POSTGRES_PASSWORD: devdata
# For the backend
DB_HOST: postgres
DB_PORT: 5432
before_script:
- apk update
- apk add postgresql-dev libjpeg-turbo-dev gcc musl-dev
- pip install -r requirements.txt
script:
- cd src && ./manage.py test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment