Skip csharp integration tests on macos-26

This commit is contained in:
Óscar San José
2026-02-17 17:23:38 +01:00
parent 542d4631d7
commit 0676ba1c07
4 changed files with 16 additions and 8 deletions

View File

@@ -3,10 +3,12 @@ import pytest
import os
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
# Skipping the test on the ARM runners, macos-15 and macos-26, as we're running
# into trouble with Mono and nuget.
@pytest.mark.only_if(
runs_on.linux
or (runs_on.macos and runs_on.x86_64 and not runs_on.macos_15)
or (runs_on.macos and runs_on.x86_64
and not runs_on.macos_15 and not runs_on.macos_26)
)
def test(codeql, csharp):
os.environ["CODEQL_EXTRACTOR_CSHARP_BUILDLESS_DOTNET_FRAMEWORK_REFERENCES"] = (

View File

@@ -3,10 +3,12 @@ import runs_on
import pytest
# Skipping the test on the ARM runners and macos-15, as we're running into trouble with Mono and nuget.
# Skipping the test on the ARM runners, macos-15 and macos-26, as we're running
# into trouble with Mono and nuget.
@pytest.mark.only_if(
runs_on.linux
or (runs_on.macos and runs_on.x86_64 and not runs_on.macos_15)
or (runs_on.macos and runs_on.x86_64
and not runs_on.macos_15 and not runs_on.macos_26)
)
def test(codeql, csharp):
# making sure we're not doing any fallback restore:

View File

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

View File

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