-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test) GHA to run unit test on examples
- Loading branch information
1 parent
165ef32
commit af48706
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: GHA to run unit test for examples | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
|
||
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 | ||
working-directory: ${{matrix.path-to-examples}} |