Skip to content

Commit

Permalink
Use docker compose v2 command
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Aug 18, 2024
1 parent 75fc6ea commit 8fe3c43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion docker-compose.server_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ version: '3'
# See https://circleci.com/docs/2.0/executor-types/

services:

db:
image: mysql:8.0
environment:
Expand Down

0 comments on commit 8fe3c43

Please sign in to comment.