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 2afa30d3e28..4ec113c3fbd 100644 --- a/eng/tsp-core/pipelines/publish.yml +++ b/eng/tsp-core/pipelines/publish.yml @@ -34,6 +34,7 @@ extends: - template: /eng/tsp-core/pipelines/jobs/e2e.yml@self parameters: azLogin: true + testFilter: "--filter=!@typespec/e2e" - stage: publish_npm displayName: Publish Npm Packages