Skip to content

Commit

Permalink
Fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
m-danya committed Mar 31, 2024
1 parent 9b28306 commit b253b22
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up .env
run: cp .env.sample .env

- name: Build and run containers
run: DOCKER_BUILDKIT=1 docker-compose up -d backend

- name: Check running containers
run: docker-compose ps -a

- name: Test with pytest
env:
ACTIONS_RUNNER_DEBUG: true
ACTIONS_STEP_DEBUG: true
run: docker-compose exec --no-TTY backend pytest
run: docker-compose exec -T backend pytest 2>&1 > pytest_log.txt

- name: Show pytest output
run: cat pytest_log.txt

0 comments on commit b253b22

Please sign in to comment.