File tree Expand file tree Collapse file tree
MapWinGisTests-net/MapWinGisTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -274,11 +274,22 @@ jobs:
274274 DOTNET_ROOT : C:\Program Files\dotnet\x86
275275 DOTNET_MULTILEVEL_LOOKUP : 0
276276 " DOTNET_ROOT(x86) " : C:\Program Files\dotnet\x86
277- run : vstest.console.exe /Blame /Diag:logs\log.txt /Platform:x86 -e:PROJ_LIB="${{ github.workspace }}\src\bin\${{env.BUILD_CONFIGURATION}}\Win32\proj9\share\" .\MapWinGisTests-net\MapWinGisTests\bin\x86\${{env.BUILD_CONFIGURATION}}\net10.0-windows8.0\MapWinGisTests.dll
277+ run : vstest.console.exe /Blame:"CollectHangDump;TestTimeout=120000;DumpType=Full" /Diag:logs\log.txt /Platform:x86 -e:PROJ_LIB="${{ github.workspace }}\src\bin\${{env.BUILD_CONFIGURATION}}\Win32\proj9\share\" .\MapWinGisTests-net\MapWinGisTests\bin\x86\${{env.BUILD_CONFIGURATION}}\net10.0-windows8.0\MapWinGisTests.dll
278278
279279 - name : Unit Testing x64
280280 if : ${{matrix.platform == 'x64' }}
281- run : vstest.console.exe /Blame /Diag:logs\log.txt /Platform:x64 -e:PROJ_LIB="${{ github.workspace }}\src\bin\${{env.BUILD_CONFIGURATION}}\x64\proj9\share\" .\MapWinGisTests-net\MapWinGisTests\bin\x64\${{env.BUILD_CONFIGURATION}}\net10.0-windows8.0\MapWinGisTests.dll
281+ run : vstest.console.exe /Blame:"CollectHangDump;TestTimeout=120000;DumpType=Full" /Diag:logs\log.txt /Platform:x64 -e:PROJ_LIB="${{ github.workspace }}\src\bin\${{env.BUILD_CONFIGURATION}}\x64\proj9\share\" .\MapWinGisTests-net\MapWinGisTests\bin\x64\${{env.BUILD_CONFIGURATION}}\net10.0-windows8.0\MapWinGisTests.dll
282+
283+ - name : Upload test logs and hang dump
284+ if : always()
285+ uses : actions/upload-artifact@v4
286+ with :
287+ name : test-logs-${{matrix.platform}}
288+ path : |
289+ logs\**\*
290+ **\*.dmp
291+ **\Sequence_*.xml
292+ if-no-files-found : ignore
282293
283294 # TODO: Create installer using innosetup
284295 # TODO: Publish installer to GitHub Releases
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ public void ShapefileKeyTest()
111111
112112 // Add shapefile to map and test again:
113113 var visible = ! IsRunningOnGitHubActions ; // Don't render when running on GitHub Actions
114+ _testOutputHelper . WriteLine ( $ "ShapefileKeyTest() call form.AddShapefileToMap() with visible: { visible } ") ;
114115 var layerHandle = form . AddShapefileToMap ( sfPolygon , visible ) ;
115116 // Get sf back:
116117 var sf = form . GetShapefileFromLayer ( layerHandle ) ;
You can’t perform that action at this time.
0 commit comments