From ef2a122163f3bcaaaa51f46bd2ae44235ac89e93 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:31:35 +0800 Subject: [PATCH] print logs if tests fail --- .github/workflows/test-and-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 27b4ad3..943d8f4 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -13,7 +13,7 @@ jobs: - name: Create env files run: cp local.env.dist local.env && cp local.broker.env.dist local.broker.env - name: test - run: docker compose run test ./run-tests.sh + run: docker compose run test ./run-tests.sh || docker compose logs - name: check hub metadata for tests run: docker compose run ssp-hub.local ./run-metadata-tests.sh - name: check idp metadata for tests