Skip to content

Commit e1e1172

Browse files
committed
C#: Only run integration test on windows and linux.
1 parent 7a41408 commit e1e1172

File tree

8 files changed

+22
-0
lines changed

8 files changed

+22
-0
lines changed

csharp/ql/integration-tests/all-platforms/dotnet_10_rc2/Program.cs renamed to csharp/ql/integration-tests/linux/dotnet_10_rc2/Program.cs

File renamed without changes.

csharp/ql/integration-tests/all-platforms/dotnet_10_rc2/dotnet_build.csproj renamed to csharp/ql/integration-tests/linux/dotnet_10_rc2/dotnet_build.csproj

File renamed without changes.

csharp/ql/integration-tests/all-platforms/dotnet_10_rc2/global.json renamed to csharp/ql/integration-tests/linux/dotnet_10_rc2/global.json

File renamed without changes.

csharp/ql/integration-tests/all-platforms/dotnet_10_rc2/test.py renamed to csharp/ql/integration-tests/linux/dotnet_10_rc2/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
22

3+
@runs_on.linux
34
def test(codeql, csharp):
45
codeql.database.create()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Console.WriteLine($"<arguments>{string.Join(",", args)}</arguments>");
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net10.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.100-rc.2.25502.107"
4+
}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
3+
@runs_on.windows
4+
def test(codeql, csharp):
5+
codeql.database.create()

0 commit comments

Comments
 (0)