This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new de259187a Run integration and unit tests in parallel
de259187a is described below
commit de259187a4fc7e3a28ca4d475c68038e1338876d
Author: Serge Huber <[email protected]>
AuthorDate: Mon Apr 11 17:37:12 2022 +0200
Run integration and unit tests in parallel
---
.github/workflows/unomi-ci-build-tests.yml | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/unomi-ci-build-tests.yml
b/.github/workflows/unomi-ci-build-tests.yml
index bca0c1712..d573ab6c5 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 - Build and tests
+name: Build and run tests
on:
push:
@@ -10,7 +10,8 @@ on:
branches: [ master ]
jobs:
- build-and-tests:
+ unit-tests:
+ name: Execute unit tests
runs-on: ubuntu-latest
strategy:
matrix:
@@ -25,7 +26,18 @@ jobs:
- name: Build and Unit tests
run: mvn -U -B -e clean install
- - name: Integration tests
- run: mvn -pl itests clean install -Pintegration-tests
- - name: Deploy snapshots to Apache Snapshots repository
- run: mvn clean install deploy -P integration-tests,docker
+ integration-tests:
+ name: Execute integration tests
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 1.8, 11]
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v1
+ with:
+ java-version: ${{ matrix.java }}
+ cache: maven
+ - name: Integration tests
+ run: mvn clean install -Pintegration-tests