File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 2121 - name : Test
2222 shell : bash -l {0}
2323 run : |
24+ conda install -c conda-forge -y aiida-workgraph=0.5.2
2425 verdi presto --profile-name pwd
2526 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
2627 python test_with_aiida.py
4041 - name : Test
4142 shell : bash -l {0}
4243 run : |
44+ conda install -c conda-forge -y jobflow=0.1.19
4345 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
4446 python test_with_jobflow.py
4547
5860 - name : Test
5961 shell : bash -l {0}
6062 run : |
63+ conda install -c conda-forge -y pyiron_base=0.11.11
6164 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
6265 python test_with_pyiron.py
66+
67+ cwl :
68+ runs-on : ubuntu-latest
69+ steps :
70+ - uses : actions/checkout@v4
71+ - name : Conda config
72+ run : echo -e "channels:\n - conda-forge\n" > .condarc
73+ - uses : conda-incubator/setup-miniconda@v3
74+ with :
75+ python-version : " 3.12"
76+ miniforge-version : latest
77+ condarc-file : .condarc
78+ environment-file : environment.yml
79+ - name : Test
80+ shell : bash -l {0}
81+ run : |
82+ conda install -c conda-forge -y cwltool=3.1.20250110105449
83+ echo -e 'from python_workflow_definition.cwl import write_workflow\n\n\nif __name__ == "__main__":\n write_workflow(file_name="workflow.json")' > test_with_cwl.py
84+ python test_with_cwl.py
85+ cwltool workflow.cwl workflow.yml
You can’t perform that action at this time.
0 commit comments