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

bertty pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git


The following commit(s) were added to refs/heads/main by this push:
     new 7a9396a  [CI]Auto Build And Install (#59)
7a9396a is described below

commit 7a9396a7b254dcab1e2516fd2f28a229d410b4c6
Author: Kirs <[email protected]>
AuthorDate: Fri Jan 21 21:57:39 2022 +0800

    [CI]Auto Build And Install (#59)
    
    * [CI]Auto Build And Install
    
    * [CI]Auto Build And Install
    
    * [CI]Auto Build And Install
    
    * and config properties
---
 .github/workflows/backend.yml                      | 19 ++++++++++
 .../ut.yml => tools/test/config/wayang.properties  | 42 +++++-----------------
 2 files changed, 28 insertions(+), 33 deletions(-)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index f729107..af95a0c 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -27,6 +27,7 @@ concurrency:
   group: backend-${{ github.event.pull_request.number || github.ref }}
   cancel-in-progress: true
 
+
 jobs:
   check-license:
     runs-on: ubuntu-latest
@@ -34,3 +35,21 @@ jobs:
       - uses: actions/checkout@v2
       - name: Check License Header
         uses: apache/skywalking-eyes@main
+  build:
+    name: Build
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK 1.8
+        uses: actions/setup-java@v2
+        with:
+          java-version:  8
+          distribution: 'adopt'
+      - uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven
+      - name: Run Unit tests
+        run: ./mvnw clean verify -B -Dmaven.test.skip=false 
-Dwayang.configuration=file:$(pwd)/tools/test/config/wayang.properties
+      - name: Build And Install
+        run: ./mvnw clean install -B -Dmaven.test.skip=true 
\ No newline at end of file
diff --git a/.github/workflows/ut.yml b/tools/test/config/wayang.properties
old mode 100644
new mode 100755
similarity index 50%
rename from .github/workflows/ut.yml
rename to tools/test/config/wayang.properties
index 59f6bc6..00703c1
--- a/.github/workflows/ut.yml
+++ b/tools/test/config/wayang.properties
@@ -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.
@@ -5,43 +6,18 @@
 # (the "License"); you may not use this file except in compliance with
 # the License.  You may obtain a copy of the License at
 #
-#     http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing, software
 # distributed under the License is distributed on an "AS IS" BASIS,
 # 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.
+#
 
-name: Unit Test
-
-on:
-  pull_request:
-  push:
-    branches:
-      - main
-
-concurrency:
-  group: unit-test-${{ github.event.pull_request.number || github.ref }}
-  cancel-in-progress: true
-
-jobs:
-  unit-test:
-    name: Unit Test
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          submodules: true
-      - name: Set up JDK 1.8
-        uses: actions/setup-java@v2
-        with:
-          java-version: 8
-          distribution: 'adopt'
-      - uses: actions/cache@v2
-        with:
-          path: ~/.m2/repository
-          key: ${{ runner.os }}-maven
-
-      - name: Run Unit tests
-        run: ./mvnw clean verify -B -Dmaven.test.skip=false
\ No newline at end of file
+spark.driver.host = localhost
+spark.master = local[1]
+wayang.giraph.job.tracker = localhost:50300
+wayang.giraph.maxWorkers = 1
+wayang.giraph.minWorkers = 1
+wayang.mapreduce.job.counters.limit = 200

Reply via email to