Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #4062 - Create tck-servlet workflow for Piranha Servlet #4068

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions .github/workflows/tck-servlet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: tck-servlet
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
httpImplementation:
description: 'HTTP Implementation'
default: 'impl'
required: true
jobs:
jakarta-expression-language:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '21' ]
os: [ubuntu-latest]
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup for TCK
run: mvn -B -DskipTests=true install
- name: Run TCK
run: mvn -amd -B -P external -pl external/tck/el verify
jakarta-pages:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '21' ]
os: [ubuntu-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup for TCK
run: mvn -B -DskipTests=true install
- name: Run TCK
run: mvn -amd -B -P external -pl external/tck/wasp verify
servlet:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '21' ]
os: [ubuntu-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup for TCK
run: mvn -B -DskipTests=true install -P${{ github.event.inputs.httpImplementation }}
if: ${{ github.event.inputs.httpImplementation }}
- name: Setup for TCK
run: mvn -B -DskipTests=true install
if: ${{ !github.event.inputs.httpImplementation }}
- name: Run TCK
run: |
mvn -amd -B -P external -pl external/tck-servlet/servlet verify
cat external/tck-servlet/target/piranha/report/text/summary.txt >> $GITHUB_STEP_SUMMARY
Loading