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/02/09 06:29:59 UTC

[geode] branch feature/gha-acceptance-tests created (now d3aefcd495)

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

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


      at d3aefcd495 Add acceptance test

This branch includes the following new commits:

     new d3aefcd495 Add acceptance test

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 acceptance test

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-acceptance-tests
in repository https://gitbox.apache.org/repos/asf/geode.git

commit d3aefcd495c989e40226db8f80ab8e13cacb1ff8
Author: Sai Boorlagadda <sa...@gmail.com>
AuthorDate: Wed Feb 8 22:29:44 2023 -0800

    Add acceptance test
---
 .github/workflows/gradle.yml | 47 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 90594bf398..f1d6cdc654 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -183,4 +183,49 @@ jobs:
        with:
          name: integration-test-reports-${{ matrix.os }}-${{ matrix.java }}
          path: build/reports
-         retention-days: 5
\ No newline at end of file
+         retention-days: 5
+
+  acceptanceTest:
+    needs: [apiCheck, unitTest]
+    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: |
+            8
+            11
+            17
+      - name: Setup Gradle
+        uses: gradle/gradle-build-action@v2
+      - name: Run acceptance 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 \
+            --no-parallel \
+            -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} \
+            acceptanceTest --console=plain --no-daemon
+      - uses: actions/upload-artifact@v3
+        if: failure()
+        with:
+          name: acceptance-test-reports-${{ matrix.os }}-${{ matrix.java }}
+          path: build/reports
+          retention-days: 5
\ No newline at end of file