-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old class path entries. Allow a single test to be executed.
Signed-off-by: James R. Perkins <[email protected]>
- Loading branch information
Showing
3 changed files
with
102 additions
and
13 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,65 @@ | ||
# 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: | ||
name: test-reports-${{ matrix.java }} | ||
path: | | ||
'**/reports/' | ||
'**/logs/' | ||
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
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