From 953f397cc8fd417c6f83fcfcc3d0415988b35703 Mon Sep 17 00:00:00 2001 From: shchoholiev Date: Sun, 29 Oct 2023 01:59:08 +0000 Subject: [PATCH] SA-72 Updated dev github workflow --- .github/workflows/develop_shopping-assistant-api-dev.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/develop_shopping-assistant-api-dev.yml b/.github/workflows/develop_shopping-assistant-api-dev.yml index 11c692d..e24cb0d 100644 --- a/.github/workflows/develop_shopping-assistant-api-dev.yml +++ b/.github/workflows/develop_shopping-assistant-api-dev.yml @@ -4,9 +4,6 @@ name: Build and deploy ASP.Net Core app to Azure Web App - shopping-assistant-api-dev on: - push: - branches: - - develop workflow_dispatch: jobs: @@ -25,6 +22,9 @@ jobs: - name: Build with dotnet run: dotnet build --configuration Release + - name: Test with dotnet + run: dotnet test --no-build --verbosity normal + - name: dotnet publish run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest needs: build environment: - name: 'Production' + name: 'Development' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} steps: