Skip to content

Commit 75b8774

Browse files
committed
add test for nested workflow to ci infrastructure
1 parent d474622 commit 75b8774

File tree

2 files changed

+738
-0
lines changed

2 files changed

+738
-0
lines changed

.github/workflows/pipeline.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,30 @@ jobs:
138138
papermill pyiron_workflow.ipynb pyiron_workflow_out.ipynb -k "python3"
139139
papermill universal_workflow.ipynb universal_workflow_out.ipynb -k "python3"
140140
141+
nested:
142+
runs-on: ubuntu-latest
143+
steps:
144+
- uses: actions/checkout@v4
145+
- name: Conda config
146+
run: echo -e "channels:\n - conda-forge\n" > .condarc
147+
- uses: conda-incubator/setup-miniconda@v3
148+
with:
149+
python-version: "3.12"
150+
miniforge-version: latest
151+
condarc-file: .condarc
152+
environment-file: binder/environment.yml
153+
- name: Installation and setup
154+
shell: bash -l {0}
155+
run: |
156+
pip install --no-deps --no-build-isolation -e .
157+
conda install -c conda-forge jupyter papermill
158+
verdi presto --profile-name pwd
159+
- name: Tests
160+
shell: bash -l {0}
161+
run: |
162+
cd example_workflows/nested
163+
papermill aiida.ipynb aiida_out.ipynb -k "python3"
164+
141165
documentation:
142166
runs-on: ubuntu-latest
143167
steps:

0 commit comments

Comments
 (0)