Update .gitlab-ci.yml

Chaned `docker-compose` to `docker compose`
This commit is contained in:
Vicente Antonio G. Reyes 2023-07-23 14:01:13 +08:00 committed by GitHub
parent 3be4114f0c
commit 0618a71eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,12 +33,12 @@ pytest:
services:
- docker:dind
before_script:
- docker-compose -f local.yml build
- docker compose -f local.yml build
# 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 up -d
- docker compose -f local.yml run --rm django python manage.py migrate
- docker compose -f local.yml up -d
script:
- docker-compose -f local.yml run django pytest
- docker compose -f local.yml run django pytest
{%- else %}
image: python:3.11
tags: