Skip to content

Run macOS root tests in separate CI job#351

Draft
broken-circle wants to merge 1 commit into
swiftlang:mainfrom
broken-circle:macOS-sudo-job
Draft

Run macOS root tests in separate CI job#351
broken-circle wants to merge 1 commit into
swiftlang:mainfrom
broken-circle:macOS-sudo-job

Conversation

@broken-circle

@broken-circle broken-circle commented Jul 9, 2026

Copy link
Copy Markdown
Member

Unix tests that require root access are run on Linux and FreeBSD, but are skipped on macOS. This PR adds a new macOS CI job to run only those root tests using sudo.

Note: This PR description is a placeholder and will be updated based on the discussion in #345. Passwordless sudo isn't available on the self-hosted runner, but it is available on macos-26. If we decide to use the hosted-macOS approach, the CI job will be simplified since no cleanup is necessary on the ephemeral runner.

The Unix `PlatformOptions` tests that require root run on Linux and
FreeBSD, but are skipped on macOS. Add a macOS root CI job and pull the
tests that require root into a new `SubprocessUnixRootTests` suite.
@broken-circle broken-circle changed the title Add macOS root CI job and separate Unix root tests Run macOS root tests in separate CI job Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant