From a3df82746d4ac4efe859c1260fbb5704cdb0bbca Mon Sep 17 00:00:00 2001 From: Philip Offtermatt Date: Mon, 11 Dec 2023 12:42:36 +0100 Subject: [PATCH] Upload traces even when test fails --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a0cf695f24..8300dfa5f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -127,11 +127,12 @@ jobs: path: ./mbt-profile.out - name: Archive MBT traces uses: actions/upload-artifact@v3 + if: success() | failure() # to upload the traces only when the test failed with: name: mbt-traces path: tests/mbt/driver/traces retention-days: 2 - + repo-analysis: runs-on: ubuntu-latest needs: [tests, test-integration, test-mbt]