-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3745 from jamezp/version-update
Update the minimum Java version to 17 and bump the version to 7.0.0.Alpha1
- Loading branch information
Showing
76 changed files
with
222 additions
and
101 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# 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: Jakarta REST TCK | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
paths-ignore: | ||
- '.gitignore' | ||
- ".github/workflows/manual-*.yml" | ||
- ".mvn/**" | ||
- "docbook/**" | ||
- "distribution/**" | ||
- "CODEOWNERS" | ||
- "CODE_OF_CONDUCT.md" | ||
- "CONTRIBUTING.adoc" | ||
- "dco.txt" | ||
- "LICENSE" | ||
- "mvnw" | ||
- "mvnw.cmd" | ||
- "README.md" | ||
- "SECURITY.md" | ||
- "**/README.MD" | ||
pull_request: | ||
branches: | ||
- '**' | ||
paths-ignore: | ||
- '.gitignore' | ||
- ".github/workflows/manual-*.yml" | ||
- ".mvn/**" | ||
- "docbook/**" | ||
- "distribution/**" | ||
- "CODEOWNERS" | ||
- "CODE_OF_CONDUCT.md" | ||
- "CONTRIBUTING.adoc" | ||
- "dco.txt" | ||
- "LICENSE" | ||
- "mvnw" | ||
- "mvnw.cmd" | ||
- "README.md" | ||
- "SECURITY.md" | ||
- "**/README.MD" | ||
schedule: | ||
- cron: '0 0 * * *' # Every day at 00:00 UTC | ||
workflow_dispatch: | ||
inputs: | ||
os: | ||
description: "Runner OS" | ||
required: true | ||
default: "ubuntu-latest" | ||
type: string | ||
javaVersion: | ||
description: "Java Version" | ||
required: true | ||
default: "17" | ||
type: string | ||
|
||
# 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: | ||
run-tck: | ||
|
||
runs-on: ubuntu-latest | ||
timeout-minutes: 90 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['17', '21-ea'] | ||
|
||
steps: | ||
- name: Checkout RESTEasy | ||
uses: actions/checkout@v3 | ||
with: | ||
path: resteasy | ||
- name: Checkout RESTEasy TCK Runner | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: resteasy/resteasy-tck-runner | ||
path: resteasy-tck-runner | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: 'temurin' | ||
cache: 'maven' | ||
- name: Build RESTEasy - JDK ${{ matrix.java }} | ||
id: resteasy-build | ||
run: | | ||
cd resteasy | ||
mvn clean install -U -B -fae -DskipTests | ||
RESTEASY_VERSION="$(mvn -B help:evaluate -Dexpression=project.version -DforceStdout -q)" | ||
echo "RESTEASY_VERSION=$RESTEASY_VERSION" | ||
echo "RESTEASY_VERSION=$RESTEASY_VERSION" >> "$GITHUB_OUTPUT" | ||
- name: Run the Jakarta REST TCK - JDK ${{ matrix.java }} | ||
run: | | ||
echo "RESTEASY_VERSION=${{ steps.resteasy-build.outputs.RESTEASY_VERSION }}" | ||
cd resteasy-tck-runner | ||
mvn clean install -U -B -fae -Dtck.debug.log=true -Dversion.org.jboss.resteasy="${{ steps.resteasy-build.outputs.RESTEASY_VERSION }}" | ||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: test-reports-${{ matrix.os }}-${{ matrix.java }} | ||
path: | | ||
'**/surefire-reports/' | ||
'**/failsafe-reports/' | ||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: server-logs-${{ matrix.os }}-${{ matrix.java }} | ||
path: '**/server.log' |
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
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
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
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
Oops, something went wrong.