Skip to content

Commit 47c751b

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

File tree

8 files changed

+24
-0
lines changed

8 files changed

+24
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import os
2+
import runs_on
23

4+
@runs_on.linux
35
def test(codeql, csharp):
46
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import os
2+
import runs_on
3+
4+
@runs_on.windows
5+
def test(codeql, csharp):
6+
codeql.database.create()

0 commit comments

Comments
 (0)