Skip to content

Commit

Permalink
Update api-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksymilian-Plywaczyk authored Oct 24, 2023
1 parent 81bcba0 commit 70bfb44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/api-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
uses: actions/checkout@v3
- name: Build the Docker containers
run: docker-compose -f "test-docker-compose.yaml" build
- name: Run Application with Docker Compose
run: docker-compose -f "test-docker-compose.yaml" up -d
- name: Check logs from postgres container
run: docker-compose -f "test-docker-compose.yaml" logs postgres
- name: Check linters with Ruff (Black, isort)
run: docker-compose -f "test-docker-compose.yaml" run api ruff check app/
- name: Run the tests
run: docker-compose -f "test-docker-compose.yaml" run api pytest tests/

0 comments on commit 70bfb44

Please sign in to comment.