Skip to content

Commit

Permalink
Merge branch 'JUnit5LifecycleIntegrationTest' of github.com:flowlogix…
Browse files Browse the repository at this point in the history
…/arquillian-core into JUnit5LifecycleIntegrationTest
  • Loading branch information
lprimak committed Aug 10, 2024
2 parents 8b96291 + 85c2c3a commit fce6fd6
Show file tree
Hide file tree
Showing 71 changed files with 2,016 additions and 102 deletions.
84 changes: 84 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# This workflow will build a Java project with Maven
# For more information see: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

name: Arquillian Integration Tests

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
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:
wildfly-integration:
name: 'WildFly Integration Tests'
runs-on: ${{ matrix.os }}
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['11', '17', '21']

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }} - ${{ matrix.os }}
run: |
./mvnw -V clean install -U -B -fae '-Pwildfly' '-T1' '-Pintegration-tests'
- uses: actions/upload-artifact@v4
if: failure()
with:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: '**/surefire-reports/*'
- uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs-${{ matrix.os }}-${{ matrix.java }}
path: '**/server.log'

payara-integration:
name: 'Payara Integration Tests'
runs-on: ${{ matrix.os }}
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['11', '17', '21']

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }} - ${{ matrix.os }}
run: |
./mvnw -V clean install -U -B -fae '-Ppayara' '-T1' '-Pintegration-tests'
- uses: actions/upload-artifact@v4
if: failure()
with:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: '**/surefire-reports/*'
- uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs-${{ matrix.os }}-${{ matrix.java }}
path: '**/server.log'
1 change: 0 additions & 1 deletion .mvn/maven.config

This file was deleted.

2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
45 changes: 5 additions & 40 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<!-- Artifact Information -->
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Arquillian BOM</name>
<url>http://arquillian.org</url>
<description>Arquillian Bill Of Material</description>
<description>Arquillian Bill Of Materials</description>

<issueManagement>
<system>jira</system>
<url>http://jira.jboss.com/jira/browse/ARQ</url>
<url>https://issues.redhat.com/browse/ARQ</url>
</issueManagement>

<licenses>
Expand All @@ -42,18 +42,10 @@
</developers>

<properties>

<version.shrinkwrap_core>1.2.6</version.shrinkwrap_core>
<version.shrinkwrap_descriptors>2.0.0</version.shrinkwrap_descriptors>
<version.shrinkwrap_resolver>3.3.0</version.shrinkwrap_resolver>

<jboss.releases.repo.id>jboss-releases-repository</jboss.releases.repo.id>
<jboss.releases.repo.url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
</jboss.releases.repo.url>
<jboss.releases.repo.url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/</jboss.releases.repo.url>
<jboss.snapshots.repo.id>jboss-snapshots-repository</jboss.snapshots.repo.id>
<jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/
</jboss.snapshots.repo.url>

<jboss.snapshots.repo.url>https://repository.jboss.org/nexus/content/repositories/snapshots/</jboss.snapshots.repo.url>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -218,33 +210,6 @@
<version>${project.version}</version>
</dependency>

<!-- ShrinkWrap -->
<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-bom</artifactId>
<version>${version.shrinkwrap_core}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- ShrinkWrap Resolver -->
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-bom</artifactId>
<version>${version.shrinkwrap_resolver}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- ShrinkWrap Descriptors -->
<dependency>
<groupId>org.jboss.shrinkwrap.descriptors</groupId>
<artifactId>shrinkwrap-descriptors-bom</artifactId>
<version>${version.shrinkwrap_descriptors}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

</dependencies>
</dependencyManagement>

Expand Down
6 changes: 3 additions & 3 deletions build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-parent</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -25,8 +25,8 @@
<!-- Arquillian Core common Deps, Test related -->
<version.javax.inject>1</version.javax.inject>
<version.junit>4.13.2</version.junit>
<version.junit5.platform>1.10.1</version.junit5.platform>
<version.junit5>5.10.2</version.junit5>
<version.junit5.platform>1.10.3</version.junit5.platform>
<version.junit5>5.10.3</version.junit5>
<version.mockito>4.10.0</version.mockito>
<version.testng>7.5</version.testng>
<version.assertj>3.24.2</version.assertj>
Expand Down
2 changes: 1 addition & 1 deletion config/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion config/impl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-parent</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
</parent>

<!-- Model Information -->
Expand Down
2 changes: 1 addition & 1 deletion config/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion container/impl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-parent</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
</parent>

<!-- Model Information -->
Expand Down
2 changes: 1 addition & 1 deletion container/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion container/test-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
* .addClass(MyServletY.class);
* }
*
* &#64;Test &#64;OperatesOnDeployment("X")
* &#64;Test &#64;OperateOnDeployment("X")
* public void shouldExecuteInX() { ... }
*
* &#64;Test &#64;OperatesOnDeployment("Y")
* &#64;Test &#64;OperateOnDeployment("Y")
* public void shouldExecuteInY() { ... }
* </code></pre>
* <p>
Expand All @@ -70,10 +70,10 @@
* .addClass(MyServletY.class);
* }
*
* &#64;Test &#64;OperatesOnDeployment("X")
* &#64;Test &#64;OperateOnDeployment("X")
* public void shouldExecuteInX() { ... }
*
* &#64;Test &#64;OperatesOnDeployment("Y") &#64;RunAsClient
* &#64;Test &#64;OperateOnDeployment("Y") &#64;RunAsClient
* public void shouldExecuteInY(&#64;ArquillianResource &#64;OperateOnDeployment("X") URL deploymentXURLContext) { ... }
* </code></pre>
*
Expand Down
2 changes: 1 addition & 1 deletion container/test-impl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private void createContext(EventContext<? extends TestEvent> context) {
}

/*
* Internal Helpers needed to extract @OperatesOnDeployment from TestMethod.
* Internal Helpers needed to extract @OperateOnDeployment from TestMethod.
*
* TODO: This should not rely on direct Reflection, but rather access the metadata through some
* common metadata layer.
Expand Down
2 changes: 1 addition & 1 deletion container/test-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/impl-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-parent</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
</parent>

<!-- Model Information -->
Expand Down
2 changes: 1 addition & 1 deletion core/spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-build</artifactId>
<version>1.8.2.Final-SNAPSHOT</version>
<version>1.9.1.Final-SNAPSHOT</version>
<relativePath>../../build/pom.xml</relativePath>
</parent>

Expand Down
Loading

0 comments on commit fce6fd6

Please sign in to comment.