Skip to content

Commit

Permalink
Report the TCK results for the Jakarta EE Core Profile TCK.
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Oct 24, 2024
1 parent f9872b7 commit 69edb99
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 16 deletions.
54 changes: 53 additions & 1 deletion .github/workflows/core-profile-tck-ee11-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,62 @@ jobs:
java-version: ${{ inputs.java-version }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ inputs.java-version }} on WildFly
- name: Build with Maven Java ${{ inputs.java-version }} on WildFly ${{ inputs.wildfly-version }}
run: |
cd core-profile
mvn -B -V clean verify -Dversion.org.wildfly=${{ inputs.wildfly-version }} -fae -Pstaging
- name: TCK Report
run: |
cd core-profile
curl -Ls https://sh.jbang.dev | bash -s - app setup
export PATH="${PATH}:${HOME}/.jbang/bin"
jbang trust add https://github.com/jamezp/jbang-catalog/
jbang app install parse-surefire-report@jamezp
printf "=%0.s" {1..50}
printf "\nOS Information\n"
cat /etc/os-release
printf "\n\n"
printf "=%0.s" {1..50}
printf "\nJava Version\n"
java -version
printf "\n\n"
cd cdi-langmodel-tck
printf "\n\nCDI langmodel TCK"
parse-surefire-report
cd ../cdi-tck
printf "\n\nCDI TCK"
parse-surefire-report --batch
cd ../core-tck
printf "\n\nCore TCK"
parse-surefire-report --batch
cd ../inject-tck
printf "\n\nInject TCK"
parse-surefire-report --batch
cd ../jsonb-standalone-tck
printf "\n\nJSON Binding Standalone TCK"
parse-surefire-report --batch
cd ../jsonp-plugability-tck
printf "\n\nJSON Processing Plugability TCK"
parse-surefire-report --batch
cd ../jsonp-standalone-tck
printf "\n\nJSON Processing Standalone TCK"
parse-surefire-report --batch
cd ../rest-tck
printf "\n\nREST TCK"
parse-surefire-report --batch
printf "\n\nAll Totals"
parse-surefire-report --batch
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down
71 changes: 56 additions & 15 deletions .github/workflows/core-profile-tck-ee11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,9 @@ concurrency:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
wildfly-build:
uses: wildfly/wildfly/.github/workflows/shared-wildfly-build.yml@main
with:
wildfly-branch: "main"
wildfly-repo: "wildfly/wildfly"
coreprofile-tck:
# The type of runner that the job will run on
runs-on: ubuntu-latest
needs: wildfly-build
strategy:
fail-fast: false
matrix:
Expand All @@ -45,23 +39,70 @@ jobs:
# Runner steps
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: wildfly-maven-repository
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf wildfly-maven-repository.tar.gz -C ~
- uses: wildfly-extras/wildfly-nightly-download@main
id: wildfly-nightly
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }} on WildFly
- name: Build with Maven Java ${{ matrix.java }} on WildFly ${{ steps.wildfly-nightly.outputs.wildfly-version }}
run: |
cd core-profile
mvn -B clean verify -Dversion.org.wildfly=${{ needs.wildfly-build.outputs.wildfly-version }} -fae
mvn -B clean verify -Dversion.org.wildfly=${{ steps.wildfly-nightly.outputs.wildfly-version }} -fae
- name: TCK Report
run: |
cd core-profile
curl -Ls https://sh.jbang.dev | bash -s - app setup
export PATH="${PATH}:${HOME}/.jbang/bin"
jbang trust add https://github.com/jamezp/jbang-catalog/
jbang app install parse-surefire-report@jamezp
printf "=%0.s" {1..50}
printf "\nOS Information\n"
cat /etc/os-release
printf "\n\n"
printf "=%0.s" {1..50}
printf "\nJava Version\n"
java -version
printf "\n\n"
cd cdi-langmodel-tck
printf "\n\nCDI langmodel TCK"
parse-surefire-report
cd ../cdi-tck
printf "\n\nCDI TCK"
parse-surefire-report --batch
cd ../core-tck
printf "\n\nCore TCK"
parse-surefire-report --batch
cd ../inject-tck
printf "\n\nInject TCK"
parse-surefire-report --batch
cd ../jsonb-standalone-tck
printf "\n\nJSON Binding Standalone TCK"
parse-surefire-report --batch
cd ../jsonp-plugability-tck
printf "\n\nJSON Processing Plugability TCK"
parse-surefire-report --batch
cd ../jsonp-standalone-tck
printf "\n\nJSON Processing Standalone TCK"
parse-surefire-report --batch
cd ../rest-tck
printf "\n\nREST TCK"
parse-surefire-report --batch
printf "\n\nAll Totals"
parse-surefire-report --batch
- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down

0 comments on commit 69edb99

Please sign in to comment.