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 21
21
- name : Test
22
22
shell : bash -l {0}
23
23
run : |
24
+ conda install -c conda-forge -y aiida-workgraph=0.5.2
24
25
verdi presto --profile-name pwd
25
26
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
26
27
python test_with_aiida.py
40
41
- name : Test
41
42
shell : bash -l {0}
42
43
run : |
44
+ conda install -c conda-forge -y jobflow=0.1.19
43
45
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
44
46
python test_with_jobflow.py
45
47
58
60
- name : Test
59
61
shell : bash -l {0}
60
62
run : |
63
+ conda install -c conda-forge -y pyiron_base=0.11.11
61
64
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
62
65
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