This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git
The following commit(s) were added to refs/heads/master by this push:
new bca9f74e6 added workflow for integration testing
bca9f74e6 is described below
commit bca9f74e62d32fb95c9a3cbd74d7a47296659de7
Author: Thomas Andraschko <[email protected]>
AuthorDate: Mon Feb 26 13:45:21 2024 +0100
added workflow for integration testing
---
.github/workflows/ci.yml | 13 +++++++------
.github/workflows/integration.yml | 16 +++++++---------
2 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 205395b08..89ca384d8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,7 +44,12 @@ permissions:
jobs:
build:
+ name: Build with ${{ matrix.profile }}
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ profile: [ 'OWB', 'Weld' ]
steps:
- uses: actions/checkout@v3
with:
@@ -60,11 +65,7 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - name: Build (OpenWebBeans)
- run: mvn clean install -POWB
- continue-on-error: true
- - name: Build (Weld)
- run: mvn clean install -PWeld
- continue-on-error: true
+ - name: Build
+ run: mvn clean install -P${{ matrix.profile }}
diff --git a/.github/workflows/integration.yml
b/.github/workflows/integration.yml
index a985ed7f1..560adc404 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -30,9 +30,12 @@ permissions:
jobs:
build:
-
+ name: Build with ${{ matrix.profile }}
runs-on: ubuntu-latest
-
+ strategy:
+ fail-fast: false
+ matrix:
+ profile: [ 'tomee-build-managed', 'wildfly-build-managed' ]
steps:
- uses: actions/checkout@v3
with:
@@ -48,10 +51,5 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - name: Build (TomEE)
- run: mvn clean install -Ptomee-build-managed
- continue-on-error: true
- - name: Build (Wildfly)
- run: mvn clean install -Pwildfly-build-managed
- continue-on-error: true
-
+ - name: Build
+ run: mvn clean install -P${{ matrix.profile }}