Skip to content

Commit

Permalink
on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Aug 8, 2024
1 parent b0eb5ad commit 3f39321
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,15 @@ jobs:
run: docker compose -f docker-compose.local.yml up -d
- name: Run Tests
run: docker compose -f docker-compose.local.yml exec -T api python manage.py test


###################################################
# On failure
###################################################
- if: ${{ failure() }}
name: "ON FAILURE: Which containers were running while failing?"
run: docker ps -a

- if: ${{ failure() }}
name: "ON FAILURE: Backend logs"
run: docker logs api-1

0 comments on commit 3f39321

Please sign in to comment.