From c58c5022288cba1bd9254a293442d91d1aacb51c Mon Sep 17 00:00:00 2001 From: Vincent van Proosdij Date: Thu, 25 Apr 2024 12:35:00 +0200 Subject: [PATCH] wip --- .github/workflows/github-actions.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index f724d5cf..91deda5e 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -67,11 +67,14 @@ jobs: # dotnet list ${{ github.workspace }}/BridgingIT.DevKit.sln package --vulnerable --include-transitive 2>&1 | tee build.log # test `grep -cm 1 'has the following vulnerable packages' build.log` = 0 || exit 1 - - name: Run tests - run: dotnet test '${{ github.workspace }}/tests/*/*UnitTests.csproj' --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo - - name: Integration tests - run: dotnet test '${{ github.workspace }}/tests/*/*IntegrationTests.csproj' --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo --filter FullyQualifiedName!~Examples + run: dotnet test --filter FullyQualifiedName\!~Examples --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo --filter FullyQualifiedName!~Examples + + # - name: Run tests + # run: dotnet test '${{ github.workspace }}/tests/**/*UnitTests.csproj' --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo + + # - name: Integration tests + # run: dotnet test '${{ github.workspace }}/tests/**/*IntegrationTests.csproj' --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo --filter FullyQualifiedName!~Examples # - name: Package pack (nuget) # run: dotnet pack --configuration ${{ env.Build_Configuration }} --no-restore --no-build --nologo ${{ env.Solution_Name }} --no-build --output ${{ env.NuGet_Directory }}