From b3ec995848bccfa2601c476e022fbe7730991019 Mon Sep 17 00:00:00 2001 From: huazhongming Date: Mon, 5 Feb 2024 11:02:11 +0800 Subject: [PATCH] [MNG-8013] Integration testing process logs can be output github artifact (#1375) Signed-off-by: crazyhzm --- .github/workflows/maven.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1be8569841..2181f0cf34 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -124,3 +124,10 @@ jobs: - name: Running integration tests shell: bash run: mvn install -e -B -V -Prun-its,embedded -DmavenDistro="$GITHUB_WORKSPACE/maven/apache-maven/target/apache-maven-bin.zip" -f maven-integration-testing/pom.xml + + - name: Upload artifact on integration testing + uses: actions/upload-artifact@v4 + if: failure() && matrix.os != 'windows-latest' + with: + name: ${{ github.run_number }}-integration-test-artifact-${{ matrix.os }}-${{ matrix.java }} + path: ./maven-integration-testing/core-it-suite/target/test-classes/ \ No newline at end of file