forked from piranhacloud/piranha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes piranhacloud#4062 - Create tck-servlet workflow for Piranha Ser…
…vlet (piranhacloud#4068)
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 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 |
---|---|---|
@@ -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 |