From 24291a57c615f871002b4e9ba29cad8670fae6ec Mon Sep 17 00:00:00 2001 From: Durga Date: Wed, 22 Jul 2026 13:13:31 -0400 Subject: [PATCH] Test shopify-dev-tools separately in CI Assisted-By: devx/944b7c56-e488-423f-abb0-83cb541efb22 --- .github/workflows/tests-main.yml | 3 +++ .github/workflows/tests-manual.yml | 2 ++ .github/workflows/tests-pr.yml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/tests-main.yml b/.github/workflows/tests-main.yml index abfd03bea07..14caa7c1564 100644 --- a/.github/workflows/tests-main.yml +++ b/.github/workflows/tests-main.yml @@ -60,6 +60,9 @@ jobs: POOL_OPTIONS: ${{ matrix.os == 'macos-latest' && '--pool forks' || '' }} VITEST_MIN_THREADS: "1" VITEST_MAX_THREADS: "4" + - name: shopify-dev-tools tests + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == env.DEFAULT_NODE_VERSION }} + run: pnpm nx test shopify-dev-tools --skip-nx-cache --output-style=stream - name: Send Slack notification on failure uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844 # v1.23.0 if: ${{ failure() && !cancelled() }} diff --git a/.github/workflows/tests-manual.yml b/.github/workflows/tests-manual.yml index db7b539e808..cee8018842f 100644 --- a/.github/workflows/tests-manual.yml +++ b/.github/workflows/tests-manual.yml @@ -60,6 +60,8 @@ jobs: node-version: ${{ inputs.node-version }} - name: Unit tests run: pnpm test --output-style=stream + - name: shopify-dev-tools tests + run: pnpm nx test shopify-dev-tools --skip-nx-cache --output-style=stream - name: Setup tmate session if: ${{ failure() && inputs.debug-enabled }} uses: mxschmitt/action-tmate@35b54afac29c97fb54faba5b513f8fbd1882f113 # v3 diff --git a/.github/workflows/tests-pr.yml b/.github/workflows/tests-pr.yml index d088e5ea821..89f6580164b 100644 --- a/.github/workflows/tests-pr.yml +++ b/.github/workflows/tests-pr.yml @@ -207,6 +207,9 @@ jobs: SHARD_OPTIONS: ${{ matrix.shard && format('--shard {0}', matrix.shard) || '' }} VITEST_MIN_THREADS: "1" VITEST_MAX_THREADS: "4" + - name: shopify-dev-tools tests + if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == env.DEFAULT_NODE_VERSION }} + run: pnpm nx test shopify-dev-tools --skip-nx-cache --output-style=stream unit-tests-gate: name: "Unit tests"