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

sai_boorlagadda pushed a commit to branch feature/GEODE-10438
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git

commit 6b6ea6426d46c7d0e7eae8a46282abda5d20f987
Author: Sai Boorlagadda <sai.boorlaga...@gmail.com>
AuthorDate: Thu Jan 19 19:32:45 2023 -0800

    GEODE-10438: Migrate to GH Actions
---
 .travis.yml => .github/workflows/gradle.yml | 43 +++++++++++++++++++----------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/.travis.yml b/.github/workflows/gradle.yml
similarity index 57%
rename from .travis.yml
rename to .github/workflows/gradle.yml
index 9e96e659..c10c32e5 100644
--- a/.travis.yml
+++ b/.github/workflows/gradle.yml
@@ -1,3 +1,4 @@
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
@@ -12,21 +13,35 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+#
 
-language: java
+name: develop
 
-jdk:
-  - openjdk8
+on:
+  push:
+    branches: [ "develop" ]
+  pull_request:
+    branches: [ "develop" ]
 
-#Added to cache gradle dependencies, from the travis java manual
-before_cache:
-  - rm -f  $HOME/.gradle/caches/modules-2/modules-2.lock
-  - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
-cache:
-  directories:
-    - $HOME/.gradle/caches/
-    - $HOME/.gradle/wrapper/
+permissions:
+  contents: read
 
-script:
- - ssh-keygen -N "" -f ~/.ssh/id_rsa
- - ./gradlew check
+jobs:
+  check:
+    strategy:
+      fail-fast: false
+      matrix:
+        os: [ubuntu-latest]
+        distribution: ['temurin']
+    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'
+    - name: Run All
+      uses: gradle/gradle-build-action@v2
+      with:
+        arguments: check --console=plain
\ No newline at end of file

Reply via email to