@@ -103,8 +103,8 @@ jobs:
103103 -p:CoverletOutput=../../coverlet/windows_unit_test_net_4_6_2_coverage.xml `
104104 test/Renci.SshNet.Tests/
105105
106- Windows-Integration-Tests :
107- name : Windows Integration Tests
106+ Windows-Integration-Tests-NetFramework :
107+ name : Windows Integration Tests .NET Framework
108108 runs-on : windows-2025
109109 steps :
110110 - name : Checkout
@@ -139,6 +139,37 @@ jobs:
139139 -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage.xml `
140140 test\Renci.SshNet.IntegrationTests\
141141
142+ - name : Archive Coverlet Results
143+ uses : actions/upload-artifact@v4
144+ with :
145+ name : Coverlet Results Windows
146+ path : coverlet
147+
148+ Windows-Integration-Tests-Net :
149+ name : Windows Integration Tests .NET
150+ runs-on : windows-2025
151+ steps :
152+ - name : Checkout
153+ uses : actions/checkout@v5
154+ with :
155+ fetch-depth : 0 # needed for Nerdbank.GitVersioning
156+
157+ - name : Setup .NET
158+ uses : actions/setup-dotnet@v5
159+
160+ - name : Setup WSL2
161+ uses : Vampire/setup-wsl@6a8db447be7ed35f2f499c02c6e60ff77ef11278 # v6.0.0
162+ with :
163+ distribution : Ubuntu-24.04
164+
165+ - name : Setup SSH Server
166+ shell : wsl-bash {0}
167+ run : |
168+ apt-get update && apt-get upgrade -y
169+ apt-get install -y podman
170+ podman build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/
171+ podman run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image
172+
142173 - name : Run Integration Tests .NET
143174 run :
144175 dotnet test `
0 commit comments