From fbdc9c199753f33d4b22be8b5d43e9b81b85face Mon Sep 17 00:00:00 2001 From: Artemious <16724889+artemious7@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:08:26 +0100 Subject: [PATCH] add tests step --- .github/workflows/provision-deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/provision-deploy.yml b/.github/workflows/provision-deploy.yml index faed6d8..1af0cef 100644 --- a/.github/workflows/provision-deploy.yml +++ b/.github/workflows/provision-deploy.yml @@ -133,6 +133,12 @@ jobs: with: dotnet-version: ${{ env.DOTNET_CORE_VERSION }} + - name: Build + run: dotnet build "${{ env.WORKING_DIRECTORY }}" --configuration ${{ env.CONFIGURATION }} + + - name: Test + run: dotnet test --no-build "${{ env.WORKING_DIRECTORY }}" + - name: Publish run: dotnet publish "${{ env.WORKING_DIRECTORY }}/${{ env.FUNC_PROJECT }}" --configuration ${{ env.CONFIGURATION }} --output "${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}"