Skip to content

Remove old class path entries. Allow a single test to be executed. #2

Remove old class path entries. Allow a single test to be executed.

Remove old class path entries. Allow a single test to be executed. #2

# This is a basic workflow that is manually triggered
name: Jakarta XML Binding TCK with WildFly
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
branches:
- '**'
paths:
- 'jakarta-xml-binding/**'
#schedule:
# - cron: '0 0 * * *' # Every day at 00:00 UTC
workflow_dispatch:
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
jakarta-xml-binding-tck:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java: ['11']
# Runner steps
steps:
- name: Download the WildFly Nightly and setup the JBOSS_HOME
run: |
wget https://ci.wildfly.org/guestAuth/repository/download/WF_Nightly/latest.lastSuccessful/wildfly-latest-SNAPSHOT.zip -O wildfly-latest-SNAPSHOT.zip
unzip wildfly-latest-SNAPSHOT.zip
rm -rfv wildfly*-src.zip wildfly-latest-SNAPSHOT.zip
unzip wildfly-*.zip
rm -rfv wildfly-*.zip
JBOSS_HOME="$(readlink -m wildfly-*)"
echo -e "JBOSS_HOME=$JBOSS_HOME" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }} on WildFly
run: |
echo "JBOSS_HOME=$JBOSS_HOME"
cd jakarta-xml-binding
JBOSS_HOME="$JBOSS_HOME" WORK_DIR="./work" ./bin/run-tck.sh -v
if: failure()
with:

Check failure on line 60 in .github/workflows/jakarta-xml-binding-tck.yml

View workflow run for this annotation

GitHub Actions / Jakarta XML Binding TCK with WildFly

Invalid workflow file

The workflow is not valid. .github/workflows/jakarta-xml-binding-tck.yml (Line: 60, Col: 9): Unexpected value 'with'
name: test-reports-${{ matrix.java }}
path: |
'**/reports/'
'**/logs/'