-
Notifications
You must be signed in to change notification settings - Fork 20
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
Working dir changes conflicts with -r
include in environment file
#108
Comments
I'm not familiar with external files in an That said, env caching will be broken because it doesn't look at the |
Would the env caching not work at all, or would only the packages in the requirements file not be cached? |
I would be incapable of properly invalidating the cache, thus you'll get the old version of the env after updates to |
Ok, so my best course of action currently would be to move the |
By far the best course of action would be to use But yeah using |
That might be a good idea for me, thank you! A previous step could read the requirements file into a step output which I could then use in the extra-specs.
That would not be an issue for me. The packages in the requirement file all have exact pinned versions anyhow. So this should do as a fallback in case I do not get the other idea to work. Thanks! |
Sounds good! Personally I prefer not to make the CI setup too much dependent on GHA so maybe you can also generate a complete |
Reading the requirements file into a previous step's output and using it in the |
Please recreate this issue with https://github.com/mamba-org/setup-micromamba if it is still relevant. |
I'm trying to switch to this action from
conda-incubator/setup-miniconda@v2
(withuse-mamba: true
).I'm using this environment file which includes an requirements files with a relative path. This breaks if I try to use it directly with
provision-with-micromamba
since it seemingly changes the current working directory to/tmp
and during runtime cannot find/tmp/../requirements-ci.txt
Would you consider my setup a valid use case? Is this a bug in this action?
The text was updated successfully, but these errors were encountered: