From 837e49d43231122dbfcd9d1a5fa0279c248b40b7 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 2 Sep 2023 10:48:52 +0200 Subject: [PATCH] show forgejo logs on failure() --- .forgejo/workflows/integration.yml | 3 +++ testdata/nested-upload-download/.forgejo/workflows/test.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.forgejo/workflows/integration.yml b/.forgejo/workflows/integration.yml index ab0e4c7..e5863c0 100644 --- a/.forgejo/workflows/integration.yml +++ b/.forgejo/workflows/integration.yml @@ -33,3 +33,6 @@ jobs: export TOKEN="${{ steps.forgejo.outputs.token }}" export VERBOSE=true testdata/forgejo-release-test.sh test_run testuser otherrepo + + - if: failure() + run: docker logs forgejo diff --git a/testdata/nested-upload-download/.forgejo/workflows/test.yml b/testdata/nested-upload-download/.forgejo/workflows/test.yml index bef2bd4..cd43827 100644 --- a/testdata/nested-upload-download/.forgejo/workflows/test.yml +++ b/testdata/nested-upload-download/.forgejo/workflows/test.yml @@ -46,3 +46,5 @@ jobs: verbose: true - run: | diff -u upload-dir download-dir + - if: failure() + run: docker logs forgejo