separate examples #11
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
name: Sanity test for examples | |
on: push | |
jobs: | |
run-sanity-test: | |
name: sanity test against examples | |
strategy: | |
matrix: | |
path-servicetask: | |
[ | |
./servicetask/service-invocation-synchronous, | |
./servicetask/service-invocation-asynchronous, | |
./servicetask/rest-service, | |
] | |
path-scripttask: [./scripttask/xslt-scripttask] | |
path-startevent: [./startevent/message-start] | |
path-process-engine: | |
[ | |
./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, | |
] | |
path-bpmn-model-api: | |
[ | |
./bpmn-model-api/generate-process-fluent-api, | |
./bpmn-model-api/parse-bpmn, | |
] | |
path-multi-tenancy: | |
[ | |
./multi-tenancy/tenant-identifier-embedded, | |
./multi-tenancy/tenant-identifier-shared-definitions, | |
./spin/dataformat-configuration-global, | |
] | |
path-spin: [./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 test on service task examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-servicetask }} | |
- name: run unit test on script task examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-scripttask }} | |
- name: run unit test on start event task examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-startevent }} | |
- name: run unit test on process engine examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-process-engine }} | |
- name: run unit test on bpmn model api examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-bpmn-model-api }} | |
- name: run unit test on multi tenancy examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-multi-tenancy }} | |
- name: run unit test on spin examples | |
run: mvn clean verify | |
working-directory: ${{ matrix.path-spin }} |