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

taybou pushed a commit to branch move-ci-github-workflows
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/move-ci-github-workflows by 
this push:
     new 2d02801  Update CI
2d02801 is described below

commit 2d02801a436da01ba5ad36f2f1a7559a15bdb6fe
Author: Taybou <[email protected]>
AuthorDate: Mon Feb 8 20:52:25 2021 +0100

    Update CI
---
 .github/workflows/unomi-ci-build-tests.yml         |  9 +++++----
 ...ci-build-tests.yml => unomi-ci-docs-deploy.yml} | 23 ++++++++--------------
 2 files changed, 13 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/unomi-ci-build-tests.yml 
b/.github/workflows/unomi-ci-build-tests.yml
index d7fbcf0..d80b82e 100644
--- a/.github/workflows/unomi-ci-build-tests.yml
+++ b/.github/workflows/unomi-ci-build-tests.yml
@@ -1,7 +1,7 @@
 # This workflow will build a Java project with Maven
 # For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
 
-name: Unomi CI
+name: Unomi CI - Build and tests
 
 on:
   push:
@@ -17,15 +17,16 @@ jobs:
         java: [ 1.8, 11]
     steps:
     - uses: actions/checkout@v2
-    - name: Set up JDK 1.8
+    - name: Set up JDK ${{ matrix.java }}
       uses: actions/setup-java@v1
       with:
         java-version: ${{ matrix.java }}
+
     - name: Build
       run: mvn -U -B -e clean install -DskipTests
-    
+
     - name: Tests
       run: mvn test
-    
+
     - name: Integration tests
       run: mvn -pl itests clean install -Pintegration-tests
diff --git a/.github/workflows/unomi-ci-build-tests.yml 
b/.github/workflows/unomi-ci-docs-deploy.yml
similarity index 52%
copy from .github/workflows/unomi-ci-build-tests.yml
copy to .github/workflows/unomi-ci-docs-deploy.yml
index d7fbcf0..a6e0877 100644
--- a/.github/workflows/unomi-ci-build-tests.yml
+++ b/.github/workflows/unomi-ci-docs-deploy.yml
@@ -1,31 +1,24 @@
 # This workflow will build a Java project with Maven
 # For more information see: 
https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
 
-name: Unomi CI
+name: Unomi CI - Documentation and deployment
 
 on:
   push:
     branches: [ master, unomi-1.5.x ]
-  pull_request:
-    branches: [ master ]
 
 jobs:
   build-and-tests:
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        java: [ 1.8, 11]
     steps:
     - uses: actions/checkout@v2
     - name: Set up JDK 1.8
       uses: actions/setup-java@v1
       with:
-        java-version: ${{ matrix.java }}
-    - name: Build
-      run: mvn -U -B -e clean install -DskipTests
-    
-    - name: Tests
-      run: mvn test
-    
-    - name: Integration tests
-      run: mvn -pl itests clean install -Pintegration-tests
+        java-version: 1.8
+
+    - name: Generate documentation
+      run: mvn javadoc:aggregate source:aggregate
+
+    - name: Deploying
+      run: mvn deploy -DskipTests

Reply via email to