-
Notifications
You must be signed in to change notification settings - Fork 12
63 lines (52 loc) · 1.57 KB
/
parallel-test.yml
File metadata and controls
63 lines (52 loc) · 1.57 KB
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
name: Parallel Tests
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
java-package: jdk
- name: Build project
id: build
run: |
mvn clean install -Pbuild-only
- name: Upload m2
id: upload
uses: actions/upload-artifact@v4
with:
name: m2-repo
path: ~/.m2
if-no-files-found: error
include-hidden-files: true
test:
needs: [ "build" ]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
module: [ customer-bill-management, customer-management, party-catalog, party-role, product-catalog, product-inventory, product-ordering-management, resource-catalog, resource-function-activation, resource-inventory, service-catalog, usage-management, service-inventory, agreement, account, quote ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
java-package: jdk
- name: Restore m2
id: download
uses: actions/download-artifact@v4
with:
name: m2-repo
path: ~/.m2
- name: Ensure br_netfilter is enabled.
run: |
sudo modprobe br_netfilter
- name: Execute tests
id: test
run: |
mvn test integration-test verify -B --projects ${{matrix.module}} -Dmicronaut.environments=in-memory,orion-ld