Skip to content

Run tests only on unix.#2430

Open
fnando wants to merge 1 commit intomainfrom
unix-tests
Open

Run tests only on unix.#2430
fnando wants to merge 1 commit intomainfrom
unix-tests

Conversation

@fnando
Copy link
Member

@fnando fnando commented Mar 6, 2026

What

These tests should only run on Unix.

Why

Windows tests are failing in main.

https://github.com/stellar/stellar-cli/actions/runs/22703760901/job/65826453196

Known limitations

N/A

Copilot AI review requested due to automatic review settings March 6, 2026 00:12
@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Mar 6, 2026
@fnando fnando requested review from leighmcculloch and mootz12 and removed request for Copilot March 6, 2026 00:12
@fnando fnando self-assigned this Mar 6, 2026
@fnando fnando added the cli Related to Soroban CLI label Mar 6, 2026
@fnando fnando moved this from Backlog (Not Ready) to Needs Review in DevX Mar 6, 2026
@fnando fnando enabled auto-merge (squash) March 6, 2026 00:14
Copilot AI review requested due to automatic review settings March 6, 2026 00:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates soroban-cli’s config locator unit tests so Unix-specific permission assertions are only compiled/executed on Unix platforms, avoiding Windows CI failures while keeping the tests meaningful for supported semantics.

Changes:

  • Gate the locator.rs test module behind #[cfg(all(test, unix))] so it doesn’t compile on Windows.
  • Remove redundant per-test #[cfg(unix)] attributes since the entire module is now Unix-only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to Soroban CLI

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants