Skip to content

Commit be5d04e

Browse files
authored
Add a third workflow - comptaibility to NFDI4Ing (#37)
* Add a third workflow - comptaibility to NFDI4Ing The Workflow was originally published at: https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements * fix output * Update nfdi.yml * Create apt.txt * Update nfdi.yml * bug fix * Add aiida as execution engine * Include universal workflow * fix aiida setup * Add aiida example * Update aiida_nfdi.ipynb * Update aiida_nfdi.ipynb
1 parent 8851458 commit be5d04e

17 files changed

+3329
-0
lines changed

.github/workflows/nfdi.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: NFDI4Ing
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: conda-incubator/setup-miniconda@v3
14+
with:
15+
auto-update-conda: true
16+
python-version: "3.12"
17+
environment-file: environment.yml
18+
auto-activate-base: false
19+
- name: Installation and setup
20+
shell: bash -l {0}
21+
run: |
22+
pip install -e qe_xml_parser
23+
pip install -e python_workflow_definition
24+
conda install -c conda-forge jupyter papermill
25+
verdi presto --profile-name pwd
26+
sudo apt-get install -y $(cat apt.txt)
27+
- name: Create Additional Conda Environments
28+
shell: bash -l {0}
29+
run: |
30+
conda env create -n preprocessing -f source/envs/preprocessing.yaml -y
31+
conda env create -n processing -f source/envs/processing.yaml -y
32+
conda env create -n postprocessing -f source/envs/postprocessing.yaml -y
33+
- name: Tests
34+
shell: bash -l {0}
35+
run: |
36+
papermill aiida_nfdi.ipynb aiida_nfdi_out.ipynb -k "python3"
37+
papermill jobflow_nfdi.ipynb jobflow_nfdi_out.ipynb -k "python3"
38+
papermill pyiron_base_nfdi.ipynb pyiron_base_nfdi_out.ipynb -k "python3"
39+
papermill universal_workflow_nfdi.ipynb universal_workflow_nfdi_out.ipynb -k "python3"

0 commit comments

Comments
 (0)