From cd8e84327cd775a89b18115d1ec2fb7516501f8f Mon Sep 17 00:00:00 2001 From: "naiyuantian@microsoft.com" Date: Mon, 30 Dec 2024 17:03:57 -0800 Subject: [PATCH 1/2] initial commit --- .github/workflows/smoketest-dotnet-v2.yml | 21 +-------------------- .github/workflows/smoketest-dotnet-v3.yml | 21 +-------------------- 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/.github/workflows/smoketest-dotnet-v2.yml b/.github/workflows/smoketest-dotnet-v2.yml index 2dc5c5417..52a693782 100644 --- a/.github/workflows/smoketest-dotnet-v2.yml +++ b/.github/workflows/smoketest-dotnet-v2.yml @@ -1,23 +1,4 @@ name: Smoke Test - .NET on Functions V2 on: - workflow_dispatch: - push: - branches: [ main, dev ] - paths: - - 'src/**' - - 'test/SmokeTests/SmokeTestsV2/**' - pull_request: - branches: [ main, dev ] - paths: - - 'src/**' - - 'test/SmokeTests/SmokeTestsV2/**' - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run V2 .NET Smoke Test - run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/SmokeTestsV2/Dockerfile -HttpStartPath api/HttpStart - shell: pwsh + {} diff --git a/.github/workflows/smoketest-dotnet-v3.yml b/.github/workflows/smoketest-dotnet-v3.yml index 4644c5df9..c4ecf21fd 100644 --- a/.github/workflows/smoketest-dotnet-v3.yml +++ b/.github/workflows/smoketest-dotnet-v3.yml @@ -1,23 +1,4 @@ name: Smoke Test - .NET on Functions V3 on: - workflow_dispatch: - push: - branches: [ main, dev ] - paths: - - 'src/**' - - 'test/SmokeTests/SmokeTestsV3/**' - pull_request: - branches: [ main, dev ] - paths: - - 'src/**' - - 'test/SmokeTests/SmokeTestsV3/**' - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Run V3 .NET Smoke Test - run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/SmokeTestsV3/Dockerfile -HttpStartPath api/HttpStart - shell: pwsh + {} From 07a60463b6cee8c7491659508e647bb20dc21c4b Mon Sep 17 00:00:00 2001 From: "naiyuantian@microsoft.com" Date: Mon, 30 Dec 2024 17:11:20 -0800 Subject: [PATCH 2/2] disable --- .github/workflows/smoketest-dotnet-v2.yml | 9 +++++++++ .github/workflows/smoketest-dotnet-v3.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/smoketest-dotnet-v2.yml b/.github/workflows/smoketest-dotnet-v2.yml index 52a693782..3582f19f1 100644 --- a/.github/workflows/smoketest-dotnet-v2.yml +++ b/.github/workflows/smoketest-dotnet-v2.yml @@ -2,3 +2,12 @@ name: Smoke Test - .NET on Functions V2 on: {} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run V2 .NET Smoke Test + run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/SmokeTestsV2/Dockerfile -HttpStartPath api/HttpStart + shell: pwsh diff --git a/.github/workflows/smoketest-dotnet-v3.yml b/.github/workflows/smoketest-dotnet-v3.yml index c4ecf21fd..a02a5a409 100644 --- a/.github/workflows/smoketest-dotnet-v3.yml +++ b/.github/workflows/smoketest-dotnet-v3.yml @@ -2,3 +2,12 @@ name: Smoke Test - .NET on Functions V3 on: {} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run V3 .NET Smoke Test + run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/SmokeTestsV3/Dockerfile -HttpStartPath api/HttpStart + shell: pwsh