From 87bbdb3bacaba2aefb48de4d7b0a67e36d9ed733 Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Mon, 7 Oct 2024 08:51:33 +0300 Subject: [PATCH] ci: don't fail log-output steps (#739) 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