Skip to content

Commit

Permalink
separate examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gbetances089 committed Oct 15, 2024
1 parent f8e49a5 commit eadf382
Showing 1 changed file with 33 additions and 5 deletions.
38 changes: 33 additions & 5 deletions .github/workflows/sanity_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,58 @@ jobs:
name: sanity test against examples
strategy:
matrix:
examples:
path-servicetask:
[
./servicetask/service-invocation-synchronous,
./servicetask/service-invocation-asynchronous,
./servicetask/rest-service,
./scripttask/xslt-scripttask,
./startevent/message-start,
]
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 sanity test
- 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.examples }}
working-directory: ${{ matrix.path-spin }}

0 comments on commit eadf382

Please sign in to comment.