Skip to content

Commit d4f8283

Browse files
committed
fix conda env
1 parent 450b27a commit d4f8283

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
shell: bash -l {0}
2323
run: |
2424
sudo apt-get install -y $(cat apt.txt)
25+
conda env create -n preprocessing -f source/envs/preprocessing.yaml -y
26+
conda env create -n processing -f source/envs/processing.yaml -y
27+
conda env create -n postprocessing -f source/envs/postprocessing.yaml -y
2528
verdi presto --profile-name pwd
2629
echo -e 'from aiida import load_profile\nload_profile()\n\nfrom python_workflow_definition.aiida import load_workflow_json\n\n\nif __name__ == "__main__":\n workgraph = load_workflow_json(file_name="workflow.json")\n workgraph.run()' > test_with_aiida.py
2730
python test_with_aiida.py
@@ -42,6 +45,9 @@ jobs:
4245
shell: bash -l {0}
4346
run: |
4447
sudo apt-get install -y $(cat apt.txt)
48+
conda env create -n preprocessing -f source/envs/preprocessing.yaml -y
49+
conda env create -n processing -f source/envs/processing.yaml -y
50+
conda env create -n postprocessing -f source/envs/postprocessing.yaml -y
4551
echo -e 'from jobflow.managers.local import run_locally\nfrom python_workflow_definition.jobflow import load_workflow_json\n\n\nif __name__ == "__main__":\n flow = load_workflow_json(file_name="workflow.json")\n print(run_locally(flow))' > test_with_jobflow.py
4652
python test_with_jobflow.py
4753
@@ -61,5 +67,8 @@ jobs:
6167
shell: bash -l {0}
6268
run: |
6369
sudo apt-get install -y $(cat apt.txt)
70+
conda env create -n preprocessing -f source/envs/preprocessing.yaml -y
71+
conda env create -n processing -f source/envs/processing.yaml -y
72+
conda env create -n postprocessing -f source/envs/postprocessing.yaml -y
6473
echo -e 'from python_workflow_definition.pyiron_base import load_workflow_json\n\n\nif __name__ == "__main__":\n delayed_object_lst = load_workflow_json(file_name="workflow.json")\n print(delayed_object_lst[-1].pull())' > test_with_pyiron.py
6574
python test_with_pyiron.py

0 commit comments

Comments
 (0)