Skip to content

Commit bdd1203

Browse files
authored
🚀 Upgraded to both .NET 8 (existing) and .NET 9 (new) (#19)
1 parent beac974 commit bdd1203

File tree

8 files changed

+1988
-429
lines changed

8 files changed

+1988
-429
lines changed

.github/workflows/PullRequest.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ jobs:
2222

2323
- run: dotnet build --configuration Debug --no-restore /p:ContinuousIntegrationBuild=true
2424

25-
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.MsSql.Tests/SimpleTestcontainers.xUnit.v3.MsSql.Tests.csproj --configuration Debug --verbosity minimal --no-build
25+
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.MsSql.Tests/SimpleTestcontainers.xUnit.v3.MsSql.Tests.csproj --configuration Debug --verbosity minimal --no-build --framework net8.0
2626

27-
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests.csproj --configuration Debug --verbosity minimal --no-build
27+
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.MsSql.Tests/SimpleTestcontainers.xUnit.v3.MsSql.Tests.csproj --configuration Debug --verbosity minimal --no-build --framework net9.0
28+
29+
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests.csproj --configuration Debug --verbosity minimal --no-build --framework net8.0
30+
31+
- run: dotnet run --project src/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests/SimpleTestcontainers.xUnit.v3.PostgreSQL.Tests.csproj --configuration Debug --verbosity minimal --no-build --framework net9.0
2832

2933
# - name: Code coverage
3034
# uses: codecov/codecov-action@v5

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>

src/SimpleTestcontainers.xUnit.v3.Databases/packages.lock.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,171 @@
173173
"xunit.v3.runner.common": "[1.1.0]"
174174
}
175175
}
176+
},
177+
"net9.0": {
178+
"Testcontainers": {
179+
"type": "Direct",
180+
"requested": "[4.3.0, )",
181+
"resolved": "4.3.0",
182+
"contentHash": "1cxsjDE2+rdi/ELOel+NbQhQ7tvaqXG2YDN6nmhDzyAu9baGM2FUENG/3eG7N+ak3nap35RFvxyhIdVBeqNwlA==",
183+
"dependencies": {
184+
"Docker.DotNet.Enhanced": "3.126.1",
185+
"Docker.DotNet.Enhanced.X509": "3.126.1",
186+
"Microsoft.Extensions.Logging.Abstractions": "8.0.3",
187+
"SSH.NET": "2024.2.0",
188+
"SharpZipLib": "1.4.2"
189+
}
190+
},
191+
"xunit.v3": {
192+
"type": "Direct",
193+
"requested": "[1.1.0, )",
194+
"resolved": "1.1.0",
195+
"contentHash": "1ckSz5GVswlM9TCk5bGdHOjnYwqAWjkeqxckoHawQIA8sTeuN+RCBUypCi5A/Um0XlczRx5TjAK5W6BbN0HLcQ==",
196+
"dependencies": {
197+
"xunit.analyzers": "1.20.0",
198+
"xunit.v3.assert": "[1.1.0]",
199+
"xunit.v3.core": "[1.1.0]"
200+
}
201+
},
202+
"BouncyCastle.Cryptography": {
203+
"type": "Transitive",
204+
"resolved": "2.4.0",
205+
"contentHash": "SwXsAV3sMvAU/Nn31pbjhWurYSjJ+/giI/0n6tCrYoupEK34iIHCuk3STAd9fx8yudM85KkLSVdn951vTng/vQ=="
206+
},
207+
"Docker.DotNet.Enhanced": {
208+
"type": "Transitive",
209+
"resolved": "3.126.1",
210+
"contentHash": "UPyLBLBaVE3s7OCWM0h5g9w6mUOag5sOIP5CldFQekIWo/gHixgZR+o5fG7eCFH4ZdKlvBGM4ALFuOyPoKoJ3A=="
211+
},
212+
"Docker.DotNet.Enhanced.X509": {
213+
"type": "Transitive",
214+
"resolved": "3.126.1",
215+
"contentHash": "XFHMC/iWHbloQgg9apZrxu010DmSamaAggu8nomCqTeotGyUGkv2Tt/aqk1ljC/4tjtTrb9LtFQwYpwZbMbiKg==",
216+
"dependencies": {
217+
"Docker.DotNet.Enhanced": "3.126.1"
218+
}
219+
},
220+
"Microsoft.Bcl.AsyncInterfaces": {
221+
"type": "Transitive",
222+
"resolved": "6.0.0",
223+
"contentHash": "UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg=="
224+
},
225+
"Microsoft.Extensions.DependencyInjection.Abstractions": {
226+
"type": "Transitive",
227+
"resolved": "8.0.2",
228+
"contentHash": "3iE7UF7MQkCv1cxzCahz+Y/guQbTqieyxyaWKhrRO91itI9cOKO76OHeQDahqG4MmW5umr3CcCvGmK92lWNlbg=="
229+
},
230+
"Microsoft.Extensions.Logging.Abstractions": {
231+
"type": "Transitive",
232+
"resolved": "8.0.3",
233+
"contentHash": "dL0QGToTxggRLMYY4ZYX5AMwBb+byQBd/5dMiZE07Nv73o6I5Are3C7eQTh7K2+A4ct0PVISSr7TZANbiNb2yQ==",
234+
"dependencies": {
235+
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.2"
236+
}
237+
},
238+
"Microsoft.Testing.Extensions.TrxReport.Abstractions": {
239+
"type": "Transitive",
240+
"resolved": "1.5.3",
241+
"contentHash": "h34zKNpGyni66VH738mRHeXSnf3klSShUdavUWNhSfWICUUi5aXeI0LBvoX/ad93N0+9xBDU3Fyi6WfxrwKQGw==",
242+
"dependencies": {
243+
"Microsoft.Testing.Platform": "1.5.3"
244+
}
245+
},
246+
"Microsoft.Testing.Platform": {
247+
"type": "Transitive",
248+
"resolved": "1.5.3",
249+
"contentHash": "WqJydnJ99dEKtquR9HwINz104ehWJKTXbQQrydGatlLRw14bmsx0pa8+E6KUXMYXZAimN0swWlDmcJGjjW4TIg=="
250+
},
251+
"Microsoft.Testing.Platform.MSBuild": {
252+
"type": "Transitive",
253+
"resolved": "1.5.3",
254+
"contentHash": "bOtpRMSPeT5YLQo+NNY8EtdNTphAUcmALjW4ABU7P0rb6yR2XAZau3TzNieLmR3lRuwudguWzzBhgcLRXwZh0A==",
255+
"dependencies": {
256+
"Microsoft.Testing.Platform": "1.5.3"
257+
}
258+
},
259+
"SharpZipLib": {
260+
"type": "Transitive",
261+
"resolved": "1.4.2",
262+
"contentHash": "yjj+3zgz8zgXpiiC3ZdF/iyTBbz2fFvMxZFEBPUcwZjIvXOf37Ylm+K58hqMfIBt5JgU/Z2uoUS67JmTLe973A=="
263+
},
264+
"SSH.NET": {
265+
"type": "Transitive",
266+
"resolved": "2024.2.0",
267+
"contentHash": "9r+4UF2P51lTztpd+H7SJywk7WgmlWB//Cm2o96c6uGVZU5r58ys2/cD9pCgTk0zCdSkfflWL1WtqQ9I4IVO9Q==",
268+
"dependencies": {
269+
"BouncyCastle.Cryptography": "2.4.0"
270+
}
271+
},
272+
"System.Collections.Immutable": {
273+
"type": "Transitive",
274+
"resolved": "8.0.0",
275+
"contentHash": "AurL6Y5BA1WotzlEvVaIDpqzpIPvYnnldxru8oXJU2yFxFUy3+pNXjXd1ymO+RA0rq0+590Q8gaz2l3Sr7fmqg=="
276+
},
277+
"System.Memory": {
278+
"type": "Transitive",
279+
"resolved": "4.6.0",
280+
"contentHash": "OEkbBQoklHngJ8UD8ez2AERSk2g+/qpAaSWWCBFbpH727HxDq5ydVkuncBaKcKfwRqXGWx64dS6G1SUScMsitg=="
281+
},
282+
"xunit.analyzers": {
283+
"type": "Transitive",
284+
"resolved": "1.20.0",
285+
"contentHash": "HElev2E9vFbPxwKRQtpCSSzLOu8M/N9EWBCB37v7SRx6z4Lbj19FxfLEig3v9jiI6s4b0l2uena91nEsTWl9jA=="
286+
},
287+
"xunit.v3.assert": {
288+
"type": "Transitive",
289+
"resolved": "1.1.0",
290+
"contentHash": "4D+eM08ImfhA+zLbRzi8HA4qsT98zDxgaCD7vCg8yFesokKsgSsqWsAmImHFjVymGVhVS7WFGb19d6v1k9i0xQ==",
291+
"dependencies": {
292+
"System.Collections.Immutable": "8.0.0",
293+
"System.Memory": "4.6.0"
294+
}
295+
},
296+
"xunit.v3.common": {
297+
"type": "Transitive",
298+
"resolved": "1.1.0",
299+
"contentHash": "Cq55z8pC7fOkfj+3TB/YQ6OW96qWqxKiMd15CtkIl37VtV9EsiUL4B4HsR6VLJCzkk7cBiXQ1ABVIcp3TCm6HQ==",
300+
"dependencies": {
301+
"Microsoft.Bcl.AsyncInterfaces": "6.0.0"
302+
}
303+
},
304+
"xunit.v3.core": {
305+
"type": "Transitive",
306+
"resolved": "1.1.0",
307+
"contentHash": "kXP/1d3jnQ2m4skcdM3gSMmubI6P747D6KVswzeedysgFkLj2xJlfo7p7slsmtEnp8BZb8X6D92Hssd/UtVPMw==",
308+
"dependencies": {
309+
"Microsoft.Testing.Platform.MSBuild": "1.5.3",
310+
"xunit.v3.extensibility.core": "[1.1.0]",
311+
"xunit.v3.runner.inproc.console": "[1.1.0]"
312+
}
313+
},
314+
"xunit.v3.extensibility.core": {
315+
"type": "Transitive",
316+
"resolved": "1.1.0",
317+
"contentHash": "AeQbbYN001x0c+B9pqwml6jZPovHz8O/sOp7jmrjz90rUzz/QPal12SlHLKYszR44CMnW4MsDam3RYT5pkYUxw==",
318+
"dependencies": {
319+
"xunit.v3.common": "[1.1.0]"
320+
}
321+
},
322+
"xunit.v3.runner.common": {
323+
"type": "Transitive",
324+
"resolved": "1.1.0",
325+
"contentHash": "Q81J0VPuu8fpF+/1CIjThqKKUjnqh0TQrLlD0iORkF75KdsOV+iGWT8c3AVuY96kDoxXxkTf0ZvJsK6o9osc1A==",
326+
"dependencies": {
327+
"xunit.v3.common": "[1.1.0]"
328+
}
329+
},
330+
"xunit.v3.runner.inproc.console": {
331+
"type": "Transitive",
332+
"resolved": "1.1.0",
333+
"contentHash": "lX/4TwIJe9ysCd5dqLk/Doq8ieYaZGivgf95xR59wRuSV+nHzHnyhpjXfaPUp8nkncUH1rOmJ85o1KebipisXQ==",
334+
"dependencies": {
335+
"Microsoft.Testing.Extensions.TrxReport.Abstractions": "1.5.3",
336+
"Microsoft.Testing.Platform": "1.5.3",
337+
"xunit.v3.extensibility.core": "[1.1.0]",
338+
"xunit.v3.runner.common": "[1.1.0]"
339+
}
340+
}
176341
}
177342
}
178343
}

0 commit comments

Comments
 (0)