Skip to content

Commit 9bedf2b

Browse files
committed
Capture test hang dumps
1 parent 77916ed commit 9bedf2b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ jobs:
3939
- name: dotnet restore
4040
run: dotnet restore --locked-mode
4141
- name: dotnet test
42-
run: dotnet test --no-restore
42+
run: dotnet test --no-restore --blame-hang --blame-hang-dump-type full --blame-hang-timeout 2m -p:Platform=x64
43+
- name: Upload TestResults
44+
if: always()
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: test-results
48+
path: ./**/TestResults
4349

4450
build:
4551
runs-on: windows-latest

0 commit comments

Comments
 (0)