-
Notifications
You must be signed in to change notification settings - Fork 5
67 lines (65 loc) · 2.04 KB
/
test-all.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
name: Test All Modules
on:
workflow_dispatch:
inputs:
hal-image:
type: choice
required: true
default: quay.io/halconsole/hal
description: 'The HAL image name'
options:
- quay.io/halconsole/hal
- quay.io/halconsole/hal-development
jobs:
test:
strategy:
fail-fast: false
matrix:
module:
- test-configuration-batch
- test-configuration-datasource
- test-configuration-deploymentscanner
- test-configuration-distributableweb
- test-configuration-ee
- test-configuration-iiop
- test-configuration-infinispan
- test-configuration-interface
- test-configuration-io
- test-configuration-jca
- test-configuration-jgroups
- test-configuration-jmx
- test-configuration-jpa
- test-configuration-jsf
- test-configuration-logging
- test-configuration-mail
- test-configuration-messaging
- test-configuration-modcluster
- test-configuration-path
- test-configuration-remoting
- test-configuration-resourceadapter
- test-configuration-socketbinding
- test-configuration-systemproperty
- test-configuration-transaction
- test-configuration-web
- test-configuration-webservice
- test-runtime-server
runs-on: ubuntu-latest
env:
MVN: ./mvnw --show-version --batch-mode
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Set up JDK
id: setup-jdk
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Install
id: install
run: $MVN install
- name: Run Tests
id: run-tests
run: $MVN --projects ${{ matrix.module }} --also-make -P all-tests test -Dhal.image=${{ github.event.inputs.hal-image }} -Dsurefire.failIfNoSpecifiedTests=false