Skip to content

Commit e8235f9

Browse files
committed
Run CI tests in Release mode
1 parent e7cf9bb commit e8235f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
- name: dotnet build
6666
working-directory: ./
67-
run: dotnet build /bl CommunityToolkit.Tooling.sln
67+
run: dotnet build /bl CommunityToolkit.Tooling.sln -p:Configuration=Release
6868

6969
# Run tests
7070
- name: Install Testspace Module
@@ -73,7 +73,7 @@ jobs:
7373
domain: ${{ github.repository_owner }}
7474

7575
- name: Run tests against Source Generators
76-
run: dotnet test --logger "trx;LogFileName=sourceGeneratorTestResults.trx"
76+
run: dotnet test --logger "trx;LogFileName=sourceGeneratorTestResults.trx" -p:Configuration=Release
7777

7878
- name: Create test reports
7979
run: |

0 commit comments

Comments
 (0)