diff --git a/.github/workflows/sanity_test.yml b/.github/workflows/sanity_test.yml index 805345f4..05887949 100644 --- a/.github/workflows/sanity_test.yml +++ b/.github/workflows/sanity_test.yml @@ -6,23 +6,33 @@ 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 @@ -30,6 +40,24 @@ jobs: - 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 }}