Skip to content

test: skip example satisfiability checks on unsupported platforms#6311

Merged
baszalmstra merged 1 commit into
prefix-dev:mainfrom
tdejager:push-rtnwqkpkupsz
Jun 9, 2026
Merged

test: skip example satisfiability checks on unsupported platforms#6311
baszalmstra merged 1 commit into
prefix-dev:mainfrom
tdejager:push-rtnwqkpkupsz

Conversation

@tdejager

@tdejager tdejager commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Description

Because the new pytest runs every example workspace on every CI runner, but pixi tree defaults to the current platform.

  pixi tree --locked --no-install --manifest-path <example>

Some examples are intentionally platform-specific. For example:

  # examples/tasks/pixi.toml
  platforms = ["osx-arm64"]

So on Linux CI, the test runs:

  pixi tree --locked --no-install --manifest-path examples/tasks/pixi.toml

and pixi tree tries to use Linux by default. But the example only supports osx-arm64, so it fails with:

  no platform supported by environment 'default' matches the current system

Hopefully fixes CI failure found in: #6301 and #6302 and maybe other PR's

Tool used: Codex with Pi

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@tdejager tdejager requested a review from baszalmstra June 9, 2026 09:15
@tdejager tdejager force-pushed the push-rtnwqkpkupsz branch from 3d25c44 to dfe2011 Compare June 9, 2026 09:25
@baszalmstra baszalmstra merged commit b0173ff into prefix-dev:main Jun 9, 2026
38 checks passed
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.

2 participants