diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index f4f4cd9770601..c24ba76322ac4 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -110,17 +110,17 @@ jobs: java : - { name: Java8, java-version: 8, - maven_args: "-pl !integration-tests/gradle -pl !integration-tests/kubernetes/quarkus-standard-way" + maven_args: "-pl !integration-tests/gradle -pl !integration-tests/maven -pl !integration-tests/kubernetes/quarkus-standard-way" } - { name: Java 11, java-version: 11, - maven_args: "-pl !integration-tests/gradle" + maven_args: "-pl !integration-tests/gradle -pl !integration-tests/maven" } - { name: Java 14, java-version: 14, - maven_args: "-pl !integration-tests/gradle -pl !integration-tests/kubernetes/quarkus-standard-way" + maven_args: "-pl !integration-tests/gradle -pl !integration-tests/maven -pl !integration-tests/kubernetes/quarkus-standard-way" } services: @@ -272,6 +272,42 @@ jobs: build-root-directory: integration-tests/gradle arguments: clean test -i -S --stacktrace --no-daemon + linux-jvm-maven-tests: + name: Maven Tests JDK ${{matrix.java.name}} + runs-on: ubuntu-latest + needs: build-jdk11 + timeout-minutes: 60 + strategy: + fail-fast: false + matrix: + java: + - { + name: Java 11, + java-version: 11 + } + steps: + - uses: actions/checkout@v2 + - name: Download Maven Repo + uses: actions/download-artifact@v1 + with: + name: maven-repo + path: . + - name: Extract Maven Repo + shell: bash + run: tar -xzf maven-repo.tgz -C ~ + - name: Run Maven integration tests + run: eval mvn $JVM_TEST_MAVEN_OPTS install -pl 'integration-tests/maven' + - name: Prepare failure archive (if maven failed) + if: failure() + shell: bash + run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T - + - name: Upload failure Archive (if maven failed) + uses: actions/upload-artifact@v1 + if: failure() + with: + name: test-reports-linux-maven-java${{matrix.java.name}} + path: 'test-reports.tgz' + windows-jdk11-jvm-tests: name: Windows JDK 11 JVM Tests needs: build-jdk11