diff --git a/csharp/ql/integration-tests/posix/conftest.py b/csharp/ql/integration-tests/posix/conftest.py index 543bc046c982..a3c6d09b481e 100644 --- a/csharp/ql/integration-tests/posix/conftest.py +++ b/csharp/ql/integration-tests/posix/conftest.py @@ -5,11 +5,14 @@ def _supports_mono_nuget(): """ Helper function to determine if the current platform supports Mono and nuget. - Returns True if running on Linux or on macOS x86_64 (excluding macos-15 and macos-26). + Returns True if running on Linux (excluding Ubuntu 26.04) or on macOS x86_64 (excluding + macos-15 and macos-26). + Mono is end-of-life and only publishes packages up to Ubuntu 18.04, whose dependencies are + unsatisfiable from Ubuntu 26.04 on. macOS ARM runners (macos-15 and macos-26) are excluded due to issues with Mono and nuget. """ return ( - runs_on.linux + (runs_on.linux and not runs_on.ubuntu_26_04) or ( runs_on.macos and runs_on.x86_64