C#: Only run integration test on windows and linux.

This commit is contained in:
Michael Nebel
2025-10-22 14:06:37 +02:00
parent 7a414089e4
commit 47c751be32
8 changed files with 24 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
import os
import runs_on
@runs_on.linux
def test(codeql, csharp):
codeql.database.create()

View File

@@ -0,0 +1 @@
Console.WriteLine($"<arguments>{string.Join(",", args)}</arguments>");

View File

@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,5 @@
{
"sdk": {
"version": "10.0.100-rc.2.25502.107"
}
}

View File

@@ -0,0 +1,6 @@
import os
import runs_on
@runs_on.windows
def test(codeql, csharp):
codeql.database.create()