Skip to content

Commit b30b729

Browse files
authored
fixes
1 parent d96a2a7 commit b30b729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
python test_with_pyiron.py
7878
7979
cwl:
80-
runs-on: ubuntu-latest
80+
runs-on: ubuntu-22.04
8181
steps:
8282
- uses: actions/checkout@v4
8383
- name: Conda config
@@ -98,4 +98,4 @@ jobs:
9898
conda env create -n postprocessing -f source/envs/postprocessing.yaml -y
9999
echo -e 'from python_workflow_definition.cwl import write_workflow\n\n\nif __name__ == "__main__":\n with open("workflow.json") as f:\n content = json.load(f)\n node_lst = []\n for n in content["nodes"]:\n if "name" in n and n["name"] == "source_directory":\n n["value"] = os.path.abspath(n["value"])\n node_lst.append(n)\n content["nodes"] = node_lst\n with open("workflow.json", "w") as f:\n json.dump(content, f)\n write_workflow(file_name="workflow.json")' > test_with_cwl.py
100100
python test_with_cwl.py
101-
cwltool workflow.cwl workflow.yml
101+
cwltool --preserve-environment=CONDA_EXE workflow.cwl workflow.yml

0 commit comments

Comments
 (0)