diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b0da201..ae32759 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,13 +6,13 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build docker images - run: docker-compose -f docker-compose.server_ci.yml build --pull && docker-compose -f docker-compose.server_ci.yml up --no-start + run: docker compose -f docker-compose.server_ci.yml build --pull && docker-compose -f docker-compose.server_ci.yml up --no-start - name: Start MySQL - run: docker-compose -f docker-compose.server_ci.yml start db + run: docker compose -f docker-compose.server_ci.yml start db - name: Wait for MySQL to create initial database run: sleep 10 - name: run tests - run: docker-compose -f docker-compose.server_ci.yml run --rm web python3 manage.py test + run: docker compose -f docker-compose.server_ci.yml run --rm web python3 manage.py test lint: runs-on: ubuntu-latest steps: diff --git a/docker-compose.server_ci.yml b/docker-compose.server_ci.yml index b9a8f4f..83f32ce 100644 --- a/docker-compose.server_ci.yml +++ b/docker-compose.server_ci.yml @@ -5,7 +5,6 @@ version: '3' # See https://circleci.com/docs/2.0/executor-types/ services: - db: image: mysql:8.0 environment: