|
52 | 52 | godot -v --headless --export${BUILD_SUFFIX} "Windows Desktop" ../build/${FOLDER_NAME}/${EXPORT_NAME}.exe |
53 | 53 | - name: Run tests |
54 | 54 | run: | |
55 | | - dotnet test C7 |
| 55 | + dotnet test C7 --blame-hang-dump-type full --blame-hang-timeout 5m --logger:"console;verbosity=detailed" |
| 56 | + - name: Upload Hang Dump |
| 57 | + if: failure() |
| 58 | + uses: actions/upload-artifact@v4 |
| 59 | + with: |
| 60 | + name: hang-dump-${{ github.job }}-${{ github.run_id }} |
| 61 | + path: | |
| 62 | + EngineTests/TestResults/**/*.dmp |
| 63 | + EngineTests/TestResults/**/*.xml |
56 | 64 | - name: Verify formatting (`run dotnet format C7/C7.sln whitespace` to fix) |
57 | 65 | run: | |
58 | 66 | dotnet format C7/C7.sln whitespace --verify-no-changes |
|
91 | 99 | godot -v --headless --export${BUILD_SUFFIX} "Linux/X11" ../build/${FOLDER_NAME}/${EXPORT_NAME}.x86_64 |
92 | 100 | - name: Run tests |
93 | 101 | run: | |
94 | | - dotnet test C7 |
| 102 | + dotnet test C7 --blame-hang-dump-type full --blame-hang-timeout 5m --logger:"console;verbosity=detailed" |
| 103 | + - name: Upload Hang Dump |
| 104 | + if: failure() |
| 105 | + uses: actions/upload-artifact@v4 |
| 106 | + with: |
| 107 | + name: hang-dump-${{ github.job }}-${{ github.run_id }} |
| 108 | + path: | |
| 109 | + EngineTests/TestResults/**/*.dmp |
| 110 | + EngineTests/TestResults/**/*.xml |
95 | 111 | - name: Verify formatting (`run dotnet format C7/C7.sln whitespace` to fix) |
96 | 112 | run: | |
97 | 113 | dotnet format C7/C7.sln whitespace --verify-no-changes |
@@ -133,7 +149,15 @@ jobs: |
133 | 149 | godot -v --headless --export${BUILD_SUFFIX} "macOS" ../build/${FOLDER_NAME}.zip |
134 | 150 | - name: Run tests |
135 | 151 | run: | |
136 | | - dotnet test C7 |
| 152 | + dotnet test C7 --blame-hang-dump-type full --blame-hang-timeout 5m --logger:"console;verbosity=detailed" |
| 153 | + - name: Upload Hang Dump |
| 154 | + if: failure() |
| 155 | + uses: actions/upload-artifact@v4 |
| 156 | + with: |
| 157 | + name: hang-dump-${{ github.job }}-${{ github.run_id }} |
| 158 | + path: | |
| 159 | + EngineTests/TestResults/**/*.dmp |
| 160 | + EngineTests/TestResults/**/*.xml |
137 | 161 | - name: Verify formatting (`run dotnet format C7/C7.sln whitespace` to fix) |
138 | 162 | run: | |
139 | 163 | dotnet format C7/C7.sln whitespace --verify-no-changes |
|
0 commit comments