Skip to content

Commit

Permalink
ci: don't fail log-output steps
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 committed Oct 6, 2024
1 parent 1a52f56 commit b967365
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 b967365

Please sign in to comment.