-
Notifications
You must be signed in to change notification settings - Fork 5
62 lines (60 loc) · 2.05 KB
/
test-scheduled.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
name: Schedule All Modules
on:
schedule:
- cron: '0 0 * * *'
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 (Stable)
id: run-tests-stable
run: $MVN --projects ${{ matrix.module }} --also-make -P all-tests test -Dhal.image=quay.io/halconsole/hal -Dsurefire.failIfNoSpecifiedTests=false
- name: Run Tests (Development)
id: run-tests-development
run: $MVN --projects ${{ matrix.module }} --also-make -P all-tests test -Dhal.image=quay.io/halconsole/hal-development -Dsurefire.failIfNoSpecifiedTests=false