Skip to content

Commit

Permalink
ci: don't fail log-output steps (#739)
Browse files Browse the repository at this point in the history
Don't fail log output build steps if the corresponding docker image never started, e.g.

    Error response from daemon: No such container: test-enketo-1

This makes the github actions GUI less confusing and quicker to navigate to the real build failure.
  • Loading branch information
alxndrsn authored Oct 7, 2024
1 parent 75e894d commit 87bbdb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- run: cd test && ./run-tests.sh

- if: always()
run: docker logs test-nginx-1
run: docker logs test-nginx-1 || true
- if: always()
run: docker logs test-service-1
run: docker logs test-service-1 || true
- if: always()
run: docker logs test-enketo-1
run: docker logs test-enketo-1 || true

0 comments on commit 87bbdb3

Please sign in to comment.