From 541b430e4d97bb2373307f1d960bc598673ed80d Mon Sep 17 00:00:00 2001 From: Dustin Bleeker Date: Thu, 18 Jul 2024 17:40:22 +0200 Subject: [PATCH] Update dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index be9dc46..98cf793 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -75,25 +75,12 @@ jobs: - name: Setup MSBuild.exe uses: microsoft/setup-msbuild@v2 + # Execute all unit tests in the solution + - name: Execute unit tests + run: dotnet test + # Restore the application to populate the obj folder with RuntimeIdentifiers - name: Restore the application run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration env: Configuration: ${{ matrix.configuration }} - - Tests: - - strategy: - matrix: - configuration: [Debug] - - runs-on: windows-latest # For a list of available runner types, refer to - # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on - - env: - Solution_Name: AdvancedAPI.sln - Test_Project_Path: AdvancedAPI.Tests\AdvancedAPI.Tests.csproj - - steps: - - name: Execute unit tests - run: dotnet test