-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow option to setup my own environment with environment.yml #6
Comments
I got stuck on the same issue during the Christmas holiday and during an email conversation with @s-weigand he suggested to me the use of
Let us know if it works also for you. PS: I think Sebastian is planning to add two more options to deal with this type of situations:
|
Sorry for the late reply and thx @basic-ph for helping @UnHumbleBen in the mean time. Concerning the As @basic-ph already said, at the momemnt the way to go is, calling setup-conda/src/conda_actions.ts Lines 62 to 67 in 66ced16
One problem I see with
This is especially problematic due to the fact how shell commands are internally. Future plans: New options:
Deprecated option:
Possible solution for the If you have any thoughts about this, I'm always happy to get feedback. PS.: |
sorry for the very late reply... maybe I'm messing around with something... |
Hmmm I get a 404 error, is it a private repo? |
Yes, I'm sry...completely forget. name: CI
on: push
jobs:
test:
name: Pytest Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Conda setup
uses: s-weigand/[email protected]
with:
update-conda: true
python-version: 3.7
# env activation as suggested by @s-weigand
- name: Conda environment creation
run: |
conda env create -f environment.yml
source activate feat
pip install -e .
- name: Testing with pytest
run: |
pytest``` |
@basic-ph Also maybe open a separate issue 😉 |
Is your feature request related to a problem? Please describe.
It is not clear how to activate my own requirement
Describe the solution you'd like
I have a
environment.yml
file in my repository. I would like to run these commandsCurrently, the second command does not work because it is not the correct path to conda.sh. I would like documentation for where the conda.sh file is located.
Describe alternatives you've considered
I have not found an alternative
The text was updated successfully, but these errors were encountered: