File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,7 +167,19 @@ jobs:
167167 cp ${GITHUB_WORKSPACE}/packaging/nuget/libOpenCvSharpExtern.so ${GITHUB_WORKSPACE}/test/OpenCvSharp.Tests/bin/Release/net10.0/
168168 cp ${GITHUB_WORKSPACE}/packaging/nuget/libOpenCvSharpExtern.so ${GITHUB_WORKSPACE}/test/OpenCvSharp.Tests/
169169 sudo cp ${GITHUB_WORKSPACE}/packaging/nuget/libOpenCvSharpExtern.so /usr/lib/
170- LD_LIBRARY_PATH=. dotnet test OpenCvSharp.Tests.csproj -c Release -f net10.0 --runtime linux-arm64 --logger "trx;LogFileName=test-results.trx" < /dev/null
170+ # Preserve the executed-test sequence and a native dump when the test host crashes,
171+ # including failures that happen during process teardown after all tests complete.
172+ LD_LIBRARY_PATH=. dotnet test OpenCvSharp.Tests.csproj -c Release -f net10.0 --runtime linux-arm64 \
173+ --logger "trx;LogFileName=test-results.trx" \
174+ --blame-crash --blame-crash-dump-type full < /dev/null
175+
176+ - name : Upload crash dumps on failure
177+ if : failure()
178+ uses : actions/upload-artifact@v7
179+ with :
180+ name : linux-arm64-crash-dumps
181+ path : test/OpenCvSharp.Tests/TestResults/
182+ if-no-files-found : ignore
171183
172184 - name : Test Avalonia extensions
173185 run : |
You can’t perform that action at this time.
0 commit comments