Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moustaphacheikh authored Sep 17, 2024
1 parent 1cc604d commit d9ffb8d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
run: cp elixir_daisy/settings_compose_ci.py elixir_daisy/settings_compose.py

- name: Build and start containers
run: docker-compose up -d --build
run: docker compose up -d --build

- name: Check code formatting with Black
run: docker-compose exec -T web black --check --verbose .
run: docker compose exec -T web black --check --verbose .

- name: Install test dependencies
run: docker-compose exec -T web pip install ".[test]"
run: docker compose exec -T web pip install ".[test]"

- name: Execute the tests
run: docker-compose exec -T web pytest
run: docker compose exec -T web pytest

- name: Stop containers
if: always()
run: docker-compose down
run: docker compose down

0 comments on commit d9ffb8d

Please sign in to comment.