Skip to content

Commit 19bd0e2

Browse files
committed
Disable csharp tests that use nuget on macos-15
1 parent 8102282 commit 19bd0e2

File tree

4 files changed

+8
-8
lines changed
  • csharp/ql/integration-tests/posix
    • standalone_dependencies_no_framework
    • standalone_dependencies_nuget with_space
    • standalone_dependencies_nuget_no_sources
    • standalone_dependencies_nuget

4 files changed

+8
-8
lines changed

csharp/ql/integration-tests/posix/standalone_dependencies_no_framework/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import os
44

55

6-
# Skipping the test on the ARM runners, as we're running into trouble with Mono and nuget.
7-
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64))
6+
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
7+
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64) or (runs_on.macos and not runs_on.macos_15))
88
def test(codeql, csharp):
99
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_DOTNET_FRAMEWORK_REFERENCES"] = (
1010
"/non-existent-path"

csharp/ql/integration-tests/posix/standalone_dependencies_nuget with_space/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import pytest
44

55

6-
# Skipping the test on the ARM runners, as we're running into trouble with Mono and nuget.
7-
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64))
6+
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
7+
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64) or (runs_on.macos and not runs_on.macos_15))
88
def test(codeql, csharp):
99
# making sure we're not doing any fallback restore:
1010
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_NUGET_FEEDS_CHECK_FALLBACK_TIMEOUT"] = "1"

csharp/ql/integration-tests/posix/standalone_dependencies_nuget/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44

5-
# Skipping the test on the ARM runners, as we're running into trouble with Mono and nuget.
6-
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64))
5+
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
6+
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64) or (runs_on.macos and not runs_on.macos_15))
77
def test(codeql, csharp):
88
codeql.database.create(build_mode="none")

csharp/ql/integration-tests/posix/standalone_dependencies_nuget_no_sources/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33

44

5-
# Skipping the test on the ARM runners, as we're running into trouble with Mono and nuget.
6-
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64))
5+
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
6+
@pytest.mark.only_if(runs_on.linux or (runs_on.macos and runs_on.x86_64) or (runs_on.macos and not runs_on.macos_15))
77
def test(codeql, csharp):
88
codeql.database.create(source_root="proj", build_mode="none")

0 commit comments

Comments
 (0)