Merge pull request #3112 from Tamerz/fix-gitlab-ci

This commit is contained in:
Bruno Alla 2021-04-07 20:49:40 +01:00 committed by GitHub
commit c6d7739d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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