From e089f1ad84427ff40a86353e2001256fd7589411 Mon Sep 17 00:00:00 2001 From: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com> Date: Thu, 8 Oct 2026 15:30:40 -0700 Subject: [PATCH 1/2] skip e2e tests --- eng/tsp-core/pipelines/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tsp-core/pipelines/publish.yml b/eng/tsp-core/pipelines/publish.yml index 2afa30d3e28..359a250c6b0 100644 --- a/eng/tsp-core/pipelines/publish.yml +++ b/eng/tsp-core/pipelines/publish.yml @@ -31,7 +31,7 @@ extends: - template: /eng/tsp-core/pipelines/jobs/build-packages.yml@self - template: /eng/tsp-core/pipelines/jobs/build-vs.yml@self - template: /eng/tsp-core/pipelines/jobs/cli/build-tsp-cli-all.yml@self - - template: /eng/tsp-core/pipelines/jobs/e2e.yml@self + # - template: /eng/tsp-core/pipelines/jobs/e2e.yml@self parameters: azLogin: true From 8f700d48aab2d8615b4dbdfaf804a725e301b7f4 Mon Sep 17 00:00:00 2001 From: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com> Date: Thu, 8 Oct 2026 15:52:05 -0700 Subject: [PATCH 2/2] only skip e2e test project --- eng/tsp-core/pipelines/jobs/e2e.yml | 7 +++++-- eng/tsp-core/pipelines/publish.yml | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/eng/tsp-core/pipelines/jobs/e2e.yml b/eng/tsp-core/pipelines/jobs/e2e.yml index f86f55ab8f9..b9808e392ac 100644 --- a/eng/tsp-core/pipelines/jobs/e2e.yml +++ b/eng/tsp-core/pipelines/jobs/e2e.yml @@ -2,6 +2,9 @@ parameters: - name: azLogin type: boolean default: false + - name: testFilter + type: string + default: "" jobs: - job: e2e displayName: E2E Tests @@ -32,9 +35,9 @@ jobs: azureSubscription: "Azure SDK Engineering System" scriptType: bash scriptLocation: inlineScript - inlineScript: pnpm run test:e2e + inlineScript: pnpm run test:e2e ${{ parameters.testFilter }} - ${{ else }}: - - script: pnpm run test:e2e + - script: pnpm run test:e2e ${{ parameters.testFilter }} displayName: E2E Tests - task: 1ES.PublishPipelineArtifact@1 diff --git a/eng/tsp-core/pipelines/publish.yml b/eng/tsp-core/pipelines/publish.yml index 359a250c6b0..4ec113c3fbd 100644 --- a/eng/tsp-core/pipelines/publish.yml +++ b/eng/tsp-core/pipelines/publish.yml @@ -31,9 +31,10 @@ extends: - template: /eng/tsp-core/pipelines/jobs/build-packages.yml@self - template: /eng/tsp-core/pipelines/jobs/build-vs.yml@self - template: /eng/tsp-core/pipelines/jobs/cli/build-tsp-cli-all.yml@self - # - template: /eng/tsp-core/pipelines/jobs/e2e.yml@self + - template: /eng/tsp-core/pipelines/jobs/e2e.yml@self parameters: azLogin: true + testFilter: "--filter=!@typespec/e2e" - stage: publish_npm displayName: Publish Npm Packages