Fixed placement of image key value for non-Docker run.

This commit is contained in:
Tames McTigue 2021-03-30 13:09:29 +03:00
parent dde36972ac
commit 5314faaf8a

View File

@ -21,7 +21,6 @@ flake8:
pytest:
stage: test
image: python:3.8
{% if cookiecutter.use_docker == 'y' -%}
image: docker/compose:latest
tags:
@ -36,6 +35,7 @@ pytest:
script:
- docker-compose -f local.yml run django pytest
{%- else %}
image: python:3.8
tags:
- python
services: