From bca9f74e62d32fb95c9a3cbd74d7a47296659de7 Mon Sep 17 00:00:00 2001 From: Thomas Andraschko Date: Mon, 26 Feb 2024 13:45:21 +0100 Subject: [PATCH] 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 }}