mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-11 15:34:51 +03:00
Update .gitlab-ci.yml
Chaned `docker-compose` to `docker compose`
This commit is contained in:
parent
3be4114f0c
commit
0618a71eb4
|
@ -33,12 +33,12 @@ pytest:
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
before_script:
|
before_script:
|
||||||
- docker-compose -f local.yml build
|
- docker compose -f local.yml build
|
||||||
# Ensure celerybeat does not crash due to non-existent tables
|
# Ensure celerybeat does not crash due to non-existent tables
|
||||||
- docker-compose -f local.yml run --rm django python manage.py migrate
|
- docker compose -f local.yml run --rm django python manage.py migrate
|
||||||
- docker-compose -f local.yml up -d
|
- docker compose -f local.yml up -d
|
||||||
script:
|
script:
|
||||||
- docker-compose -f local.yml run django pytest
|
- docker compose -f local.yml run django pytest
|
||||||
{%- else %}
|
{%- else %}
|
||||||
image: python:3.11
|
image: python:3.11
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user