Skip to content

Commit

Permalink
Use docker compose plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Jan 22, 2025
1 parent 857d217 commit f910eb3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/proposals-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,27 @@ jobs:
- name: Build
run: |
cp docker-compose.dev.yml docker-compose.yml
docker-compose up -d --build
docker compose up -d --build
- name: Test
run: docker-compose exec -T app pytest
run: docker compose exec -T app pytest

- name: Black
run: docker-compose exec -T app black --check --diff --no-color ./src
run: docker compose exec -T app black --check --diff --no-color ./src

- name: Isort
run: docker-compose exec -T app isort --check --diff ./src
run: docker compose exec -T app isort --check --diff ./src

- name: Pylint
run: docker-compose exec -T app pylint ./src
run: docker compose exec -T app pylint ./src
continue-on-error: true

- name: Build prod
run: docker build -t prod .

- name: Cleanup
if: ${{ always() }}
run: docker-compose down
run: docker compose down

build_deploy:
if: (needs.check_changed.outputs.changed == 'true' && !needs.set_env.outputs.component && needs.set_env.outputs.environment != 'development') || needs.set_env.outputs.component == 'pr'
Expand Down

0 comments on commit f910eb3

Please sign in to comment.