Skip to content

Commit

Permalink
added workflow for integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko committed Feb 26, 2024
1 parent 2330d6e commit bca9f74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}


16 changes: 7 additions & 9 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit bca9f74

Please sign in to comment.