Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add local channels test #2853

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Add local channels test #2853

merged 2 commits into from
Sep 21, 2023

Conversation

Hind-M
Copy link
Member

@Hind-M Hind-M commented Sep 19, 2023

No description provided.


// Create conda-bld directory to enable testing
auto conda_bld_dir = env::home_directory() / "conda-bld";
bool to_be_removed = fs::create_directories(conda_bld_dir);
Copy link
Member

Choose a reason for hiding this comment

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

Do we have a way to trigger the test without side effect?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well to trigger the test, we need this folder (either in the home directory, the target prefix or the root prefix). And since this is supposed to be testing libmamba, the home directory is the only option left.
So I don't see how we can trigger this without creating this folder, otherwise we would have a micromamba integration test instead...

Copy link
Member

Choose a reason for hiding this comment

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

That's sad :( I hope we can work around it with the next design

@Hind-M Hind-M merged commit 044824b into mamba-org:main Sep 21, 2023
23 checks passed
@Hind-M Hind-M deleted the local_chan branch September 21, 2023 09:45
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