Skip to content
Snippets Groups Projects
Commit 8a8f29e8 authored by Daniel Gal's avatar Daniel Gal
Browse files

CI/CD config

parent 857138f8
No related branches found
No related tags found
No related merge requests found
Pipeline #1646 failed
image: docker:latest
services:
- docker:dind
stages:
- test
before_script:
- docker build -t starter-api -f api/Dockerfile.dev api
Test:
Test backend:
stage: test
script:
- docker run starter-api python src/manage.py test
- apt-get update -qy
- apt-get install -y python3.7-dev python3-pip
- pip3 install -r requirements.txt
- python src/manage.py test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment