[issues-301] - Add a GitHub workflow to run integration tests against the default WildFly version #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WildFly Integration Tests | |
on: | |
push: | |
branches: [ 'master' ] | |
pull_request: | |
branches: [ 'master' ] | |
jobs: | |
wildfly-it-tests: | |
if: '! github.event.pull_request.draft' | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'windows-latest'] | |
java-version: ['17', '21'] | |
java-distribution: ['adopt'] | |
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@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: ${{ matrix.java-distribution }} | |
cache: 'maven' | |
- name: Build and run integration tests (${{ matrix.java-distribution }} ${{ matrix.java-version }}) against latest WildFly, on ${{ matrix.os }} | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: mvn clean verify -fae | |
- name: Build and run integration tests (${{ matrix.java-distribution }} ${{ matrix.java-version }}) against latest WildFly, on ${{ matrix.os }} (excluding Docker) | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: mvn clean verify -fae "-Dcurrent-execution.excluded-groups=org.jboss.eap.qe.ts.common.docker.junit.DockerRequiredTests" |