[MNG-8013] Integration testing process logs can be output github artifact (#1375)

Signed-off-by: crazyhzm <crazyhzm@apache.org>
This commit is contained in:
huazhongming 2024-02-05 11:02:11 +08:00 committed by GitHub
parent 42559937d8
commit b3ec995848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -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/