Skip to content

Commit af48706

Browse files
committed
feat(test) GHA to run unit test on examples
1 parent 165ef32 commit af48706

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/unit_tests.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: GHA to run unit test for examples
2+
on:
3+
push:
4+
branches:
5+
- "master"
6+
7+
jobs:
8+
run-unit-test:
9+
name: run unit test on examples
10+
strategy:
11+
matrix:
12+
path-to-examples:
13+
[
14+
./servicetask/service-invocation-synchronous,
15+
./servicetask/service-invocation-asynchronous,
16+
./servicetask/rest-service,
17+
./scripttask/xslt-scripttask,
18+
./startevent/message-start,
19+
./process-engine-plugin/bpmn-parse-listener,
20+
./process-engine-plugin/command-interceptor-blocking,
21+
./process-engine-plugin/custom-history-level,
22+
./process-engine-plugin/failed-job-retry-profile,
23+
./bpmn-model-api/generate-process-fluent-api,
24+
./bpmn-model-api/parse-bpmn,
25+
./multi-tenancy/tenant-identifier-embedded,
26+
./multi-tenancy/tenant-identifier-shared-definitions,
27+
./spin/dataformat-configuration-global,
28+
]
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
name: check out code
33+
- uses: actions/setup-node@v4
34+
with:
35+
node-version: 17
36+
- name: run unit tests
37+
run: mvn clean verify
38+
working-directory: ${{matrix.path-to-examples}}

0 commit comments

Comments
 (0)