forked from jbosstm/narayana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 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,56 @@ | ||
name: CORE | ||
|
||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
inputs: | ||
narayanaRepo: | ||
description: 'Repo to clone for Narayana' | ||
required: true | ||
default: 'marcosgopen/narayana' | ||
type: 'string' | ||
narayanaBranch: | ||
description: 'Branch to use from narayana' | ||
required: true | ||
default: 'main' | ||
type: 'string' | ||
|
||
jobs: | ||
core-test: | ||
name: CORE test with JDK ${{ matrix.java-version }} | ||
timeout-minutes: 120 | ||
strategy: | ||
matrix: | ||
java-version: [ 11, 17, 21 ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
repository: ${{ inputs.narayanaRepo }} | ||
ref: ${{ inputs.narayanaBranch }} | ||
|
||
- uses: actions/setup-java@v1 | ||
name: Set up JDK ${{ matrix.java-version }} | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
|
||
- name: CORE test | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
WORKSPACE=$PWD PROFILE=CORE ./scripts/hudson/narayana.sh | ||
env: | ||
LRA_TCK_TIMEOUT_FACTOR: 1 | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: core-logs-jdk${{ matrix.java-version }} | ||
path: | | ||
jboss-as/dist/target/wildfly-*/standalone/log/ | ||
**/ObjectStore*/** | ||
**/tx-object-store/** | ||
**/*tx-object-store.zip | ||
**/target/*surefire-reports*/** | ||
**/target/*failsafe-reports*/** | ||
if-no-files-found: error |