You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2023/01/22 21:00:49 UTC

[geode] branch feature/gha-integration-tests created (now 706ec409a3)

This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a change to branch feature/gha-integration-tests
in repository https://gitbox.apache.org/repos/asf/geode.git


      at 706ec409a3 add integration test step

This branch includes the following new commits:

     new 706ec409a3 add integration test step

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[geode] 01/01: add integration test step

Posted by sa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch feature/gha-integration-tests
in repository https://gitbox.apache.org/repos/asf/geode.git

commit 706ec409a3d886ae52dab24b92890b732de6e1da
Author: Sai Boorlagadda <sa...@gmail.com>
AuthorDate: Sun Jan 22 12:59:26 2023 -0800

    add integration test step
---
 .github/workflows/gradle.yml | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 46eef3257d..baf58e5c81 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -96,4 +96,39 @@ jobs:
      with:
        name: unit-test-reports-${{ matrix.os }}-${{ matrix.java }}
        path: build/reports
-       retention-days: 5
\ No newline at end of file
+       retention-days: 5
+
+   integrationTest:
+     needs: build
+     strategy:
+       matrix:
+         os: [ubuntu-latest]
+         distribution: ['liberica']
+         java: ['8']
+     runs-on: ${{ matrix.os }}
+     steps:
+     - uses: actions/checkout@v3
+     - name: Set up JDK
+       uses: actions/setup-java@v3
+       with:
+         distribution: ${{ matrix.distribution }}
+         java-version: ${{  matrix.java }}
+     - name: Setup Gradle
+       uses: gradle/gradle-build-action@v2
+     - name: Run integration tests
+       run: |
+         GRADLE_JVM_PATH=${JAVA_HOME_8_X64}
+         JAVA_BUILD_PATH=${JAVA_HOME_8_X64}
+         JAVA_BUILD_VERSION=8
+         JAVA_TEST_VERSION=${{ matrix.java }}
+         cp gradlew gradlewStrict
+         sed -e 's/JAVA_HOME/GRADLE_JVM/g' -i.back gradlewStrict
+         GRADLE_JVM=${GRADLE_JVM_PATH} JAVA_TEST_PATH=${JAVA_TEST_PATH} ./gradlewStrict \
+           -PcompileJVM=${JAVA_BUILD_PATH} \
+           -PcompileJVMVer=${JAVA_BUILD_VERSION} \
+           -PtestJVM=${JAVA_TEST_PATH} \
+           -PtestJVMVer=${JAVA_TEST_VERSION} \
+           -PtestJava8Home=${JAVA_HOME_8_X64} \
+           -PtestJava11Home=${JAVA_HOME_11_X64} \
+           -PtestJava17Home=${JAVA_HOME_17_X64} \
+           integrationTest --console=plain --no-daemon
\ No newline at end of file