diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f3819b08f1..0986e318d0 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -182,8 +182,12 @@ jobs: # max-parallel: 4 matrix: unit-tests: + - name: js-api + - name: content-services - name: core - exclude: "insights,extensions,content-services,process-services,process-services-cloud,eslint-plugin-eslint-angular,js-api" + - name: insights + - name: process-services + - name: process-services-cloud steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -193,8 +197,8 @@ jobs: - uses: ./.github/actions/download-node-modules-and-artifacts - name: Run unit tests run: | - /usr/bin/xvfb-run --auto-servernum npx nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }} - + xvfb-run --auto-servernum + npx nx run ${{ matrix.unit-tests.name}}:test --configuration=ci lint: # long timeout required when cache has to be recreated