-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WELD-2771 Update TCK version, remove web tck parts which were migrate…
…d into platform TCKs. Update CI to skip servlet tests for JDK 11 (some deps require 17 as min version).
- Loading branch information
Showing
5 changed files
with
19 additions
and
80 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,11 +119,18 @@ jobs: | |
path: . | ||
- name: Extract WildFly | ||
run: unzip wildfly.zip | ||
- name: Build with Maven | ||
- if: ${{ matrix.java.name != '11' }} | ||
name: Build with Maven | ||
run: | | ||
JBOSS_HOME=`pwd`'/wildfly' | ||
export JBOSS_HOME=`echo $JBOSS_HOME` | ||
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!jboss-tck-runner' | ||
- if: ${{ matrix.java.name == '11' }} | ||
name: Build with Maven; skipping incontainer servlet tests due to JDK 11 | ||
run: | | ||
JBOSS_HOME=`pwd`'/wildfly' | ||
export JBOSS_HOME=`echo $JBOSS_HOME` | ||
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -pl '!environments/servlet/tests/tomcat,!jboss-tck-runner' | ||
- name: Prepare failure archive (if maven failed) | ||
if: failure() | ||
shell: bash | ||
|
@@ -249,7 +256,7 @@ jobs: | |
run: | | ||
JBOSS_HOME=`pwd`'/wildfly' | ||
export JBOSS_HOME=`echo $JBOSS_HOME` | ||
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests-web.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml | ||
mvn clean verify -Dincontainer -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dcdi.tck.suite.xml.file=src/test/tck/tck-tests.xml -Dadditional.vm.args="-Dorg.jboss.weld.construction.relaxed=true" -f jboss-tck-runner/pom.xml | ||
- name: Prepare failure archive (if maven failed) | ||
if: failure() | ||
shell: bash | ||
|
@@ -332,9 +339,9 @@ jobs: | |
name: test-reports-no-container-jdk${{matrix.java.name}} | ||
path: 'test-reports.tgz' | ||
|
||
# Weld Examples build and test, only JDK 11 | ||
# Weld Examples build and test, only JDK 17 | ||
examples-tests: | ||
name: "Weld Examples build and test - JDK 11}" | ||
name: "Weld Examples build and test - JDK 17}" | ||
runs-on: ubuntu-latest | ||
needs: build-jdk11 | ||
timeout-minutes: 120 | ||
|
@@ -343,7 +350,7 @@ jobs: | |
- name: Set up JDK 11 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: 11 | ||
java-version: 17 | ||
distribution: 'temurin' | ||
- name: Download Maven Repo | ||
uses: actions/download-artifact@v4 | ||
|
@@ -364,7 +371,7 @@ jobs: | |
run: | | ||
JBOSS_HOME=`pwd`'/wildfly' | ||
export JBOSS_HOME=`echo $JBOSS_HOME` | ||
mvn clean verify -Dno-format -Darquillian=wildfly-managed -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml | ||
mvn clean verify -Dno-format -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -f examples/pom.xml | ||
- name: Prepare failure archive (if maven failed) | ||
if: failure() | ||
shell: bash | ||
|
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
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
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
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