-
Notifications
You must be signed in to change notification settings - Fork 1.2k
38 lines (37 loc) · 1.28 KB
/
unit_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
name: GHA to run unit test for examples
on:
push:
branches:
- "feat(test)-sanity-test-for-examples"
jobs:
run-unit-test:
name: run unit test on examples
strategy:
matrix:
path-to-examples:
[
./servicetask/service-invocation-synchronous,
./servicetask/service-invocation-asynchronous,
./servicetask/rest-service,
./scripttask/xslt-scripttask,
./startevent/message-start,
./process-engine-plugin/bpmn-parse-listener,
./process-engine-plugin/command-interceptor-blocking,
./process-engine-plugin/custom-history-level,
./process-engine-plugin/failed-job-retry-profile,
./bpmn-model-api/generate-process-fluent-api,
./bpmn-model-api/parse-bpmn,
./multi-tenancy/tenant-identifier-embedded,
./multi-tenancy/tenant-identifier-shared-definitions,
./spin/dataformat-configuration-global,
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: check out code
- uses: actions/setup-node@v4
with:
node-version: 17
- name: run unit tests
run: mvn clean verify --batch-mode
working-directory: ${{matrix.path-to-examples}}