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: