Skip to content

Commit

Permalink
[issues-301] - Add a GitHub workflow to run integration tests against…
Browse files Browse the repository at this point in the history
… a WildFly version defined by default properties

[issues-301] - Add a GitHub workflow to run integration tests against a WildFly version defined by default properties
  • Loading branch information
fabiobrz authored Oct 16, 2024
1 parent d96aced commit f238428
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/wildfly-it-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: WildFly/EAP MicroProfile Test Suite Integration Tests

on:
push:
pull_request:
branches: [ master ]

jobs:
wildfly-it-tests:
if: '! github.event.pull_request.draft'
runs-on: [ubuntu-latest, windows-latest]
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
java-version: ['11', '17']
java-distribution: ['adopt', 'oracle']
steps:
- name: Checkout eap-microprofile-test-suite
uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java-distribution }} ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: ${{ matrix.java-distribution }}
cache: 'maven'
- name: Build and run integration tests (${{ matrix.java-distribution }} ${{ matrix.java }}) against latest WildFly
run: |
./mvnw clean verify
- uses: actions/upload-artifact@v3
if: failure()
with:
name: surefire-reports-jdk-${{ matrix.java }}
path: |
'${{ github.workspace }}/**/surefire-reports/*.*'
'${{ github.workspace }}/**/*.log'

0 comments on commit f238428

Please sign in to comment.