|
37 | 37 |
|
38 | 38 | - name: Run Integration Tests .NET 1 |
39 | 39 | run: | |
| 40 | + openssl version |
40 | 41 | dotnet test \ |
41 | 42 | -f net10.0 \ |
42 | 43 | --no-build \ |
|
49 | 50 |
|
50 | 51 | - name: Run Integration Tests .NET 2 |
51 | 52 | run: | |
| 53 | + wget https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz |
| 54 | + tar -xzvf openssl-3.5.4.tar.gz |
| 55 | + cd openssl-3.5.4 |
| 56 | + ./config --prefix=/usr/local/openssl |
| 57 | + make |
| 58 | + sudo make install |
| 59 | + sudo ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl |
| 60 | + sudo ln -sf /usr/local/openssl/lib64/libssl.so.3 /usr/lib/x86_64-linux-gnu/libssl.so.3 |
| 61 | + sudo ln -sf /usr/local/openssl/lib64/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/libcrypto.so.3 |
| 62 | + openssl version |
| 63 | + cd .. |
52 | 64 | dotnet test \ |
53 | 65 | -f net10.0 \ |
54 | 66 | --logger "console;verbosity=normal" \ |
|
60 | 72 | -p:CoverletOutput=../../coverlet/linux_integration_test_net_10_coverage_2.xml \ |
61 | 73 | test/Renci.SshNet.IntegrationTests/ |
62 | 74 |
|
63 | | - - name: Run Integration Tests .NET 3 |
64 | | - run: | |
65 | | - dotnet test \ |
66 | | - -f net10.0 \ |
67 | | - --logger "console;verbosity=normal" \ |
68 | | - --logger GitHubActions \ |
69 | | - --filter "Name=MLKem768X25519Sha256" \ |
70 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" \ |
71 | | - -p:CollectCoverage=true \ |
72 | | - -p:CoverletOutputFormat=cobertura \ |
73 | | - -p:CoverletOutput=../../coverlet/linux_integration_test_net_10_coverage_3.xml \ |
74 | | - test/Renci.SshNet.IntegrationTests/ |
75 | | -
|
76 | 75 | - name: Archive Coverlet Results |
77 | 76 | uses: actions/upload-artifact@v5 |
78 | 77 | with: |
@@ -154,41 +153,15 @@ jobs: |
154 | 153 | podman build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/ |
155 | 154 | podman run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image |
156 | 155 |
|
157 | | - - name: Run Integration Tests .NET Framework 1 |
158 | | - run: |
159 | | - dotnet test ` |
160 | | - -f net48 ` |
161 | | - --logger "console;verbosity=normal" ` |
162 | | - --logger GitHubActions ` |
163 | | - -p:CollectCoverage=true ` |
164 | | - -p:CoverletOutputFormat=cobertura ` |
165 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_1.xml ` |
166 | | - test\Renci.SshNet.IntegrationTests\ |
167 | | - |
168 | | - - name: Run Integration Tests .NET Framework 2 |
169 | | - run: |
170 | | - dotnet test ` |
171 | | - -f net48 ` |
172 | | - --logger "console;verbosity=normal" ` |
173 | | - --logger GitHubActions ` |
174 | | - --filter "Name=MLKem768X25519Sha256" ` |
175 | | - -p:DefineConstants="Test_BCL_MLKem" ` |
176 | | - -p:CollectCoverage=true ` |
177 | | - -p:CoverletOutputFormat=cobertura ` |
178 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_2.xml ` |
179 | | - test\Renci.SshNet.IntegrationTests\ |
180 | | - |
181 | | - - name: Run Integration Tests .NET Framework 3 |
| 156 | + - name: Run Integration Tests .NET Framework |
182 | 157 | run: |
183 | 158 | dotnet test ` |
184 | 159 | -f net48 ` |
185 | 160 | --logger "console;verbosity=normal" ` |
186 | 161 | --logger GitHubActions ` |
187 | | - --filter "Name=MLKem768X25519Sha256" ` |
188 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" ` |
189 | 162 | -p:CollectCoverage=true ` |
190 | 163 | -p:CoverletOutputFormat=cobertura ` |
191 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage_3.xml ` |
| 164 | + -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_4_8_coverage.xml ` |
192 | 165 | test\Renci.SshNet.IntegrationTests\ |
193 | 166 |
|
194 | 167 | - name: Archive Coverlet Results |
@@ -222,41 +195,15 @@ jobs: |
222 | 195 | podman build -t renci-ssh-tests-server-image -f test/Renci.SshNet.IntegrationTests/Dockerfile test/Renci.SshNet.IntegrationTests/ |
223 | 196 | podman run --rm -h renci-ssh-tests-server -d -p 2222:22 renci-ssh-tests-server-image |
224 | 197 |
|
225 | | - - name: Run Integration Tests .NET 1 |
226 | | - run: |
227 | | - dotnet test ` |
228 | | - -f net10.0 ` |
229 | | - --logger "console;verbosity=normal" ` |
230 | | - --logger GitHubActions ` |
231 | | - -p:CollectCoverage=true ` |
232 | | - -p:CoverletOutputFormat=cobertura ` |
233 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_1.xml ` |
234 | | - test\Renci.SshNet.IntegrationTests\ |
235 | | - |
236 | | - - name: Run Integration Tests .NET 2 |
237 | | - run: |
238 | | - dotnet test ` |
239 | | - -f net10.0 ` |
240 | | - --logger "console;verbosity=normal" ` |
241 | | - --logger GitHubActions ` |
242 | | - --filter "Name=MLKem768X25519Sha256" ` |
243 | | - -p:DefineConstants="Test_BCL_MLKem" ` |
244 | | - -p:CollectCoverage=true ` |
245 | | - -p:CoverletOutputFormat=cobertura ` |
246 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_2.xml ` |
247 | | - test\Renci.SshNet.IntegrationTests\ |
248 | | - |
249 | | - - name: Run Integration Tests .NET 3 |
| 198 | + - name: Run Integration Tests .NET |
250 | 199 | run: |
251 | 200 | dotnet test ` |
252 | 201 | -f net10.0 ` |
253 | 202 | --logger "console;verbosity=normal" ` |
254 | 203 | --logger GitHubActions ` |
255 | | - --filter "Name=MLKem768X25519Sha256" ` |
256 | | - -p:DefineConstants="Test_BouncyCastle_MLKem" ` |
257 | 204 | -p:CollectCoverage=true ` |
258 | 205 | -p:CoverletOutputFormat=cobertura ` |
259 | | - -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage_3.xml ` |
| 206 | + -p:CoverletOutput=..\..\coverlet\windows_integration_test_net_10_coverage.xml ` |
260 | 207 | test\Renci.SshNet.IntegrationTests\ |
261 | 208 |
|
262 | 209 | - name: Archive Coverlet Results |
|
0 commit comments