From a48c63cd71f8c0e7bf45871b6c600cfc07e6fb8b Mon Sep 17 00:00:00 2001 From: Dmitrii Petukhov Date: Sun, 27 Oct 2024 22:15:04 +0200 Subject: [PATCH 1/2] Collect broker logs Signed-off-by: Dmitrii Petukhov --- .github/workflows/build.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5c3b13913..ad7603dac 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,7 +3,7 @@ name: Tests on: push: branches: - - main + - "**" pull_request: branches: - main @@ -220,6 +220,21 @@ jobs: --tb long \ --reruns=3 \ -n 4 -v + - name: List folder contents + run: | + ls -lah + - name: List folder contents + run: | + ls -lah ${{ github.workspace }}/src/integration-tests/ + echo "test" > ${{ github.workspace }}/src/integration-tests/failure-logs/test.log + ls -lah ${{ github.workspace }}/src/integration-tests/ + - name: Upload failure-logs as artifacts + # if: failure() + uses: actions/upload-artifact@v4 + with: + name: failure_logs_${{ matrix.mode }}_${{ matrix.cluster }} + path: ${{ github.workspace }}/src/integration-tests/failure-logs + retention-days: 5 fuzz_tests_ubuntu: name: Fuzz test [${{ matrix.request }}] From 37a0a30e2df9fb73c1a28a8928a1b885988757ed Mon Sep 17 00:00:00 2001 From: Dmitrii Petukhov Date: Sun, 27 Oct 2024 22:45:57 +0200 Subject: [PATCH 2/2] Remove redundant configuration from build.yaml Signed-off-by: Dmitrii Petukhov --- .github/workflows/build.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ad7603dac..7944ba810 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,7 +3,7 @@ name: Tests on: push: branches: - - "**" + - main pull_request: branches: - main @@ -220,16 +220,9 @@ jobs: --tb long \ --reruns=3 \ -n 4 -v - - name: List folder contents - run: | - ls -lah - - name: List folder contents - run: | - ls -lah ${{ github.workspace }}/src/integration-tests/ - echo "test" > ${{ github.workspace }}/src/integration-tests/failure-logs/test.log - ls -lah ${{ github.workspace }}/src/integration-tests/ + - name: Upload failure-logs as artifacts - # if: failure() + if: failure() uses: actions/upload-artifact@v4 with: name: failure_logs_${{ matrix.mode }}_${{ matrix.cluster }}