Skip to content

tck-coreprofile

tck-coreprofile #136

name: tck-coreprofile
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
annotations:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/annotations
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/annotations/runner/target/failsafe-reports/*IT.xml"
if: always()
cdi:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/cdi
mvn -B -ntp -T 1 verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
external/tck/cdi/runner/core/target/surefire-reports/junitreports/TEST-*.xml
external/tck/cdi/runner/model/target/surefire-reports/TEST-*.xml
if: always()
coreprofile:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/coreprofile
mvn -B -Dmaven.test.failure.ignore=true -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/coreprofile/runner/target/failsafe-reports/**/TEST-*.xml"
if: always()
inject:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/inject
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck//inject/installer/target/tck/example/target/surefire-reports/TEST-*.xml"
if: always()
jsonb:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/jsonb
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/tck/jsonb/installer/target/tck/bin/target/surefire-reports/TEST-*.xml"
if: always()
jsonp:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/jsonp
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
external/tck/jsonp/installer/target/tck/bin/tck-tests/target/surefire-reports/TEST-*.xml
external/tck/jsonp/installer/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml
if: always()
rest:
if: github.repository == 'piranhacloud/piranha'
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 -ntp install
- name: Run TCK
run: |
cd external/tck/rest
mvn -B -ntp -T 1 verify
- name: Test Summary
uses: test-summary/action@v2
id: test_summary
with:
paths: "external/tck/rest/runner/target/failsafe-reports/**/TEST-*.xml"
output: test-summary.md
if: always()
- name: Job Summary
run: |
echo "${{ steps.test_summary.outputs.passed }} out of ${{ steps.test_summary.outputs.total }} tests passed" >> $GITHUB_STEP_SUMMARY
if: always()