-
Notifications
You must be signed in to change notification settings - Fork 3
136 lines (126 loc) · 4.03 KB
/
integration-tests.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: WildFly Luancher Integration Tests
on:
push:
branches:
- '**'
paths:
- '.github/workflows/integration-tests.yml'
- '**/pom.xml'
- 'src/main/**'
- '!src/test/**'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/integration-tests.yml'
- '**/pom.xml'
- 'src/**'
- '!src/test/**'
schedule:
- cron: '0 0 * * *' # Every day at 00:00 UTC
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
arquillian-test:
name: WildFly Arquillian Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-launcher
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-launcher
mvn -B -ntp install -DskipTests
- name: Check out WildFly Arquillian
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-arquillian
path: wildfly-arquillian
- name: Test WildFly Arquillian
run: |
cd wildfly-arquillian
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.launcher:wildfly-launcher versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}
maven-plugin-test:
name: WildFly Maven Plugin Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-launcher
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-launcher
mvn -B -ntp install -DskipTests
- name: Check out WildFly Maven Plugin
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-maven-plugin
path: wildfly-maven-plugin
- name: Test the WildFly Maven Plugin
run: |
cd wildfly-maven-plugin
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.launcher:wildfly-launcher versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}
wildfly-plugin-tools-test:
name: WildFly Plugin Tools Integration Test
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
with:
path: wildfly-launcher
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |
11
17
21
distribution: 'temurin'
architecture: x64
cache: 'maven'
- name: Install SNAPSHOT
run: |
cd wildfly-launcher
mvn -B -ntp install -DskipTests
- name: Check out WildFly Plugin Tools
uses: actions/checkout@v4
with:
repository: wildfly/wildfly-plugin-tools
path: wildfly-plugin-tools
- name: Test the WildFly Plugin Tools
run: |
cd wildfly-plugin-tools
mvn versions:use-latest-snapshots -DallowSnapshots -Dincludes=org.wildfly.launcher:wildfly-launcher versions:update-properties
git diff
mvn -B -ntp install -Djava11.home=${{env.JAVA_HOME_11_X64}} -Djava17.home=${{env.JAVA_HOME_17_X64}}