From accb3f553cb9e0d442b78642cd8dbfd5db4d88bb Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Sun, 6 Oct 2024 06:02:00 +0000 Subject: [PATCH] ci: don't fail log-output steps 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. --- .github/workflows/test-nginx.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-nginx.yml b/.github/workflows/test-nginx.yml index 79061efd..72434a2c 100644 --- a/.github/workflows/test-nginx.yml +++ b/.github/workflows/test-nginx.yml @@ -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