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

Skip test_uninstallation_remove_caches if not on CI and when CONDA_PKGS_DIRS is set. #118

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

marcoesters
Copy link
Contributor

Description

On a shared build system, conda clean --all may remove more cache files beyond the cache created by pytest, so it should be disabled if not on CI.

Additionall, the CONDA_PKGS_DIRS environment variable clobbers over the .condarc file, so the test will fail if the variable is set and should be skipped. Alternatively, that variable could also be monkeypatched out, but I'm not sure if this is 100% safe.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Dec 3, 2024
@marcoesters marcoesters marked this pull request as ready for review December 3, 2024 21:55
@marcoesters marcoesters requested a review from a team as a code owner December 3, 2024 21:55
@jaimergp jaimergp merged commit b88da2f into conda:main Jan 7, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants