Skip to content

Fixes #3987 - Trigger Core Profile TCK on update to external/coreprof… #13

Fixes #3987 - Trigger Core Profile TCK on update to external/coreprof…

Fixes #3987 - Trigger Core Profile TCK on update to external/coreprof… #13

name: tck-coreprofile
on:
push:
paths:
- 'external/coreprofile-tck/**'
branches:
- '*'
tags-ignore:
- 'v*'
pull_request:
paths:
- 'external/coreprofile-tck/**'
branches:
- '*'
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
annotations:
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/coreprofile-tck/annotations
mvn -B -ntp verify
cat target/tck/report/text/summary.txt >> $GITHUB_STEP_SUMMARY
atinject:
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/coreprofile-tck/atinject
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/coreprofile-tck/atinject/target/tck/example/target/surefire-reports/TEST-*.xml"
if: always()
cdi:
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/coreprofile-tck/cdi
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/coreprofile-tck/cdi/runner/target/surefire-reports/junitreports/TEST-*.xml"
if: always()
coreprofile:
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/coreprofile-tck/coreprofile
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/coreprofile-tck/coreprofile/runner/target/failsafe-reports/**/TEST-*.xml"
if: always()
jsonb:
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/coreprofile-tck/jsonb
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/coreprofile-tck/jsonb/target/tck/bin/target/surefire-reports/TEST-*.xml"
if: always()
jsonp:
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/coreprofile-tck/jsonp
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: |
external/coreprofile-tck/jsonp/target/tck/bin/tck-tests/target/surefire-reports/TEST-*.xml
external/coreprofile-tck/jsonp/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml
if: always()
rest:
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/coreprofile-tck/rest
mvn -B -ntp verify
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "external/coreprofile-tck/rest/runner/target/failsafe-reports/**/TEST-*.xml"
if: always()