Skip to content

Update to produce a CDI EE TCK distribution with user guide and examp… #863

Update to produce a CDI EE TCK distribution with user guide and examp…

Update to produce a CDI EE TCK distribution with user guide and examp… #863

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Build and run some TCKs
on: [push, pull_request]
permissions:
security-events: read
contents: write
actions: read
id-token: write
checks: write
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
java: [17]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Set up Maven
run:
mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.1.0:wrapper -Dmaven=3.9.1
- name: Setup jakarta-restful-ws-tck jar
run: |
wget -q https://jakarta.oss.sonatype.org/content/repositories/staging/jakarta/ws/rs/jakarta-restful-ws-tck/3.1.3/jakarta-restful-ws-tck-3.1.3.zip
unzip jakarta-restful-ws-tck-3.1.3.zip jakarta-restful-ws-tck-3.1.3.jar
./mvnw -e -ntp install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=jakarta-restful-ws-tck-3.1.3.jar -DgroupId=jakarta.ws.rs -DartifactId=jakarta-restful-ws-tck -Dversion=3.1.3
- name: Install legacy javatest jar
run: ./mvnw -e -ntp install:install-file -Dfile=./lib/javatest.jar -DgroupId=javatest -DartifactId=javatest -Dversion=5.0 -Dpackaging=jar
- name: Build TCK
run: ./mvnw -e -B -U clean install -Dmaven.test.failure.ignore=true -Pstaging
# - name: Run Glassfish Runner
# run: cd glassfish-runner; ../mvnw -e -B -U test -Pglassfish-runner -Pstaging
# - name: Publish Test Report
# uses: ScaCap/[email protected]
# with:
# report_paths: '**/target/surefire-reports/TEST-**.xml'
# - name: Publish Test Report
# uses: dorny/test-reporter@v1
# with:
# name: Tests Report
# path: '**/target/surefire-reports/TEST-**.xml'
# reporter: java-junit
# fail-on-error: false