From 168156b7ff30503841c4902ec17bd0236b78508f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 24 Nov 2021 11:11:38 +0100 Subject: [PATCH] Display error logs in failure --- .github/workflows/end_to_end_tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/end_to_end_tests.yml b/.github/workflows/end_to_end_tests.yml index 11561fa1..4360d5e1 100644 --- a/.github/workflows/end_to_end_tests.yml +++ b/.github/workflows/end_to_end_tests.yml @@ -42,3 +42,10 @@ jobs: name: my-artifact path: './tests/screenshots/' + - name: Display state + if: ${{ failure() }} + run: docker-compose ps + + - name: Display logs + if: ${{ failure() }} + run: docker-compose logs