3535 run : ${{ github.workspace }}\.ci\windows\gha-setup.ps1
3636 - name : Test
3737 timeout-minutes : 25
38- run : dotnet test ${{ github.workspace }}\Build.csproj --environment=RABBITMQ_CLIENT_TESTS_VERBOSE=true --no-restore --no-build --logger 'console;verbosity=detailed'
38+ run : dotnet test ${{ github.workspace }}\Build.csproj --diag ${{ github.workspace}}\diag --no-restore --no-build --logger 'console;verbosity=detailed'
3939 - name : Check for errors in RabbitMQ logs
4040 run : ${{ github.workspace }}\.ci\windows\gha-log-check.ps1
41+ - name : Upload dotnet test diag logs (on failure)
42+ if : failure()
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : dotnet-test-diag-win32
46+ path : ${{ github.workspace }}/diag/
4147 - name : Maybe upload RabbitMQ logs
4248 if : failure()
4349 uses : actions/upload-artifact@v4
@@ -63,12 +69,18 @@ jobs:
6369 run : ${{ github.workspace }}/.ci/ubuntu/cluster/gha-setup.sh
6470 - name : Test
6571 timeout-minutes : 25
66- run : dotnet test ${{ github.workspace }}/Build.csproj --environment=RABBITMQ_CLIENT_TESTS_VERBOSE=true --no-restore --no-build --logger "console;verbosity=detailed"
72+ run : dotnet test ${{ github.workspace }}/Build.csproj --diag ${{ github.workspace}}/diag --no-restore --no-build --logger "console;verbosity=detailed"
6773 - name : Check for errors in RabbitMQ logs
6874 run : ${{ github.workspace}}/.ci/ubuntu/cluster/gha-logs.sh check
6975 - name : Collect RabbitMQ logs (on failure)
7076 if : failure()
7177 run : ${{ github.workspace}}/.ci/ubuntu/cluster/gha-logs.sh
78+ - name : Upload dotnet test diag logs (on failure)
79+ if : failure()
80+ uses : actions/upload-artifact@v4
81+ with :
82+ name : dotnet-test-diag-ubuntu
83+ path : ${{ github.workspace }}/diag/
7284 - name : Upload RabbitMQ logs (on failure)
7385 if : failure()
7486 uses : actions/upload-artifact@v4
0 commit comments