Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 1ff13c4

Browse files
committed
fix(tests): skip RunAsync test on Windows platform
Signed-off-by: Nikolai Emil Damm <nikolaiemildamm@icloud.com>
1 parent 9d78163 commit 1ff13c4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Devantler.CiliumCLI.Tests/CiliumTests/RunAsyncTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using System.Runtime.InteropServices;
2+
13
namespace Devantler.CiliumCLI.Tests.CiliumTests;
24

35
/// <summary>
@@ -12,6 +14,12 @@ public class RunAsyncTests
1214
[Fact]
1315
public async Task RunAsync_Version_ReturnsVersion()
1416
{
17+
//TODO: Support MacOS and Windows, when dind is supported in GitHub Actions Runners on those platforms
18+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
19+
{
20+
return;
21+
}
22+
1523
// Act
1624
var (exitCode, output) = await Cilium.RunAsync(["version", "--client"]);
1725

0 commit comments

Comments
 (0)