From 39b44fb6344bb6b72739b61a17e2911c2b681496 Mon Sep 17 00:00:00 2001 From: Mark Swatosh Date: Thu, 16 Nov 2023 10:55:00 -0600 Subject: [PATCH] Archive logs --- .github/workflows/ci-pull.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-pull.yml b/.github/workflows/ci-pull.yml index 5fb48a1..863a9e4 100644 --- a/.github/workflows/ci-pull.yml +++ b/.github/workflows/ci-pull.yml @@ -44,13 +44,19 @@ jobs: run: mvn -B compiler:testCompile - name: Start Server run: mvn -B liberty:test-start - - name: Sleep 15s - run: sleep 30s - shell: bash - name: Run Integration Tests run: mvn -B failsafe:integration-test - name: Stop Server run: mvn -B liberty:test-stop - name: Verify Integration Test Results run: mvn -B failsafe:verify + - name: Archive Liberty logs + if: ${{ failure() }} + uses: actions/upload-artifact@v3 + with: + name: liberty-logs + path: target/liberty/wlp/usr/servers/JakartaDataServer/logs/console.log + retention-days: 1 + +