Skip to content

Commit

Permalink
Fixes piranhacloud#4062 - Create tck-servlet workflow for Piranha Ser…
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Oct 19, 2024
1 parent 1c06c3b commit 811a97b
Showing 1 changed file with 71 additions and 0 deletions.
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

0 comments on commit 811a97b

Please sign in to comment.