Skip to content

Commit 71b4d92

Browse files
committed
Fix broken github Build+Test+Docs workflow, where tests were not being executed because tests were not being discovered in release config. Changed to run tests in debug config. Still build in release for docs.
1 parent a11e0a2 commit 71b4d92

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/push-master.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
dotnet-version: 5.0.x
1818
- name: Restore dependencies
1919
run: dotnet restore -target:$TARGETS
20-
- name: Build
20+
- name: Build Debug
21+
run: dotnet build -target:$TARGETS --no-restore
22+
- name: Run Debug Tests (Release tests fail to discover)
23+
run: dotnet test -target:$TARGETS --no-build --verbosity normal
24+
- name: Build Release
2125
run: dotnet build -target:$TARGETS --no-restore --configuration=Release
22-
- name: Run Tests
23-
run: dotnet test -target:$TARGETS --no-build --configuration=Release --verbosity normal
2426
- name: Restore tools
2527
run: dotnet tool restore
2628
- name: Run fsdocs

0 commit comments

Comments
 (0)