From 86b633bab03598eb01abd3566f7c9d1f8c657721 Mon Sep 17 00:00:00 2001 From: Fabian Grutschus Date: Mon, 16 Sep 2024 13:57:07 +0200 Subject: [PATCH] Check for always() --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f430973..fb09ae3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,17 +70,17 @@ jobs: - name: Wait for Zabbix server to become available id: wait_for_server - uses: iFaxity/wait-on-action@v1.1.0 + uses: iFaxity/wait-on-action@v1.2.1 with: resource: tcp:localhost:10051 - timeout: 900000 + timeout: 300000 interval: 10000 delay: 60000 log: true - - name: Docker Compose logs - if: steps.wait_for_server.outcome == 'failure' - run: docker compose logs server + - name: Server logs + if: always() && steps.wait_for_server.outcome == 'failure' + run: docker compose -f "docker-compose.yml" logs server - name: Test run: go test -v "./test/integration/..."