Skip to content

WildFly Plugin Tools Integration Tests #156

WildFly Plugin Tools Integration Tests

WildFly Plugin Tools Integration Tests #156

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: WildFly Plugin Tools Integration Tests
on:
push:
branches:
- '**'
paths:
- '.github/workflows/integration-tests.yml'
- '**/pom.xml'
- 'src/main/**'
- '!src/test/**'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/integration-tests.yml'
- '**/pom.xml'
- 'src/**'
- '!src/test/**'
schedule:
- cron: '0 0 * * *' # Every day at 00:00 UTC
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
arquillian-test:
name: WildFly Arquillian Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-plugin-tools
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-plugin-tools
mvn -B -ntp install -DskipTests
- name: Check out WildFly Arquillian
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-arquillian
path: wildfly-arquillian
- name: Test WildFly Arquillian
run: |
cd wildfly-arquillian
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.plugins:wildfly-plugin-tools versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}
maven-plugin-test:
name: WildFly Maven Plugin Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-plugin-tools
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-plugin-tools
mvn -B -ntp install -DskipTests
- name: Check out WildFly Maven Plugin
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-maven-plugin
path: wildfly-maven-plugin
- name: Test the WildFly Maven Plugin
run: |
cd wildfly-maven-plugin
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.plugins:wildfly-plugin-tools versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}
wildfly-glow-test:
name: WildFly Glow Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-plugin-tools
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-plugin-tools
mvn -B -ntp install -DskipTests
- name: Check out WildFly Glow
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-glow
path: wildfly-glow
- name: Test the WildFly Glow
run: |
cd wildfly-glow
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.plugins:wildfly-plugin-tools versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}