This is an automated email from the ASF dual-hosted git repository.
sai_boorlagadda pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/develop by this push:
new 60d0d831 GEODE-10438: Migrate to GH Actions (#170)
60d0d831 is described below
commit 60d0d831667eef964f1bed7afe26f6ef5a1298b4
Author: Sai Boorlagadda <[email protected]>
AuthorDate: Sun Jan 22 21:07:23 2023 -0800
GEODE-10438: Migrate to GH Actions (#170)
* removed Travis CI configuration
* added GH actions workflow
---
.travis.yml => .github/workflows/gradle.yml | 45 ++++++++++++++++++++---------
1 file changed, 31 insertions(+), 14 deletions(-)
diff --git a/.travis.yml b/.github/workflows/gradle.yml
similarity index 54%
rename from .travis.yml
rename to .github/workflows/gradle.yml
index 9e96e659..29157164 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,37 @@
# 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: Setup Gradle
+ uses: gradle/gradle-build-action@v2
+ - name: check
+ run: |
+ ssh-keygen -N "" -f ~/.ssh/id_rsa
+ ./gradlew check --console=plain
\ No newline at end of file