diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index 7836ea3..5742739 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -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 \ No newline at end of file + run: docker-compose exec -T backend pytest 2>&1 > pytest_log.txt + + - name: Show pytest output + run: cat pytest_log.txt