Skip to content

Fix conda install test: use local channel, isolate install dir from repo workspace#136

Merged
MitchellAcoustics merged 2 commits into
switch-to-pixifrom
copilot/add-github-action-workflow
May 9, 2026
Merged

Fix conda install test: use local channel, isolate install dir from repo workspace#136
MitchellAcoustics merged 2 commits into
switch-to-pixifrom
copilot/add-github-action-workflow

Conversation

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor

Replace the prefix.dev publish-then-install approach with a direct local-channel install, and move the install directory outside the repo to prevent pixi from walking up to the parent workspace.

Changes

  • Removed details, build_conda, publish_prefix_dev, and test_conda_install jobs — no artifacts uploaded, no secrets required
  • New build_and_install matrix job (ubuntu/windows/macos): builds with pixi build, then installs from the resulting output/ directory as a file:// conda channel in a fully fresh pixi project
  • Install directory moved to $RUNNER_TEMP to ensure pixi cannot walk up the directory tree and inherit the repo workspace's channel list (sonic-forge) or other config — guaranteeing the environment mirrors a user starting from scratch with only conda-forge
LOCAL_CHANNEL="$(pwd)/output"
mkdir "$RUNNER_TEMP/soundscapy-install-test"
cd "$RUNNER_TEMP/soundscapy-install-test"
pixi init
pixi project channel add "file://${LOCAL_CHANNEL}"
pixi add soundscapy

Copilot AI and others added 2 commits May 9, 2026 11:30
Agent-Logs-Url: https://github.com/MitchellAcoustics/Soundscapy/sessions/70f1e2fb-69d8-4c51-a7ab-a2f1cdf4b3e7

Co-authored-by: MitchellAcoustics <22335636+MitchellAcoustics@users.noreply.github.com>
@MitchellAcoustics
MitchellAcoustics marked this pull request as ready for review May 9, 2026 12:10
@MitchellAcoustics
MitchellAcoustics merged commit 00f81d5 into switch-to-pixi May 9, 2026
5 checks passed
@MitchellAcoustics
MitchellAcoustics deleted the copilot/add-github-action-workflow branch May 9, 2026 12:11
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