forked from wildfly/wildfly-tck-runners
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (54 loc) · 1.6 KB
/
jakarta-xml-binding-tck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# 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:
# - 'main'
# paths:
# - 'jakarta-xml-binding/**'
#pull_request:
# branches:
# - 'main'
# 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:
- uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }} on WildFly
run: |
cd jakarta-xml-binding
WORK_DIR="$(readlink -m .)"
echo "${WORK_DIR}"
WORK_DIR="${WORK_DIR}" ./bin/run-tck.sh -v
- uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-${{ matrix.java }}
path: |
'**/reports/'
'**/logs/'