Skip to content

Commit

Permalink
Check for always()
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiang committed Sep 16, 2024
1 parent da84a4c commit 86b633b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/..."
Expand Down

0 comments on commit 86b633b

Please sign in to comment.