Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions csharp/ql/integration-tests/posix/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading