Skip to content

Commit 601eb68

Browse files
committed
Build checks workflow only runs tests in Debug
1 parent a42d6c9 commit 601eb68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ jobs:
8181

8282
# Execute all unit tests in the solution
8383
- name: Execute unit tests with .NET Framework
84-
if: ${{ matrix.dotnet-version == '4.8' }}
84+
if: ${{ (matrix.dotnet-version == '4.8') && (matrix.configuration == 'Debug') }}
8585
working-directory: src
8686
run: dotnet test $env:Solution_Name -f net48 -p:ParallelizeTestCollections=false
8787

8888
# Execute all unit tests in the solution
8989
- name: Execute unit tests with .NET
90-
if: ${{ matrix.dotnet-version == '6.0.x' }}
90+
if: ${{ (matrix.dotnet-version == '6.0.x') && (matrix.configuration == 'Debug') }}
9191
working-directory: src
9292
run: dotnet test $env:Solution_Name -f net6.0 -p:ParallelizeTestCollections=false

0 commit comments

Comments
 (0)