Skip to content

Commit 1cac320

Browse files
committed
Add a third workflow - comptaibility to NFDI4Ing
The Workflow was originally published at: https://github.com/BAMresearch/NFDI4IngScientificWorkflowRequirements
1 parent 21dcb93 commit 1cac320

File tree

13 files changed

+1669
-0
lines changed

13 files changed

+1669
-0
lines changed

.github/workflows/nfdi.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: NFDI4Ing
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: conda-incubator/setup-miniconda@v3
16+
with:
17+
auto-update-conda: true
18+
python-version: "3.12"
19+
environment-file: environment.yml
20+
auto-activate-base: false
21+
- name: Installation and setup
22+
shell: bash -l {0}
23+
run: |
24+
pip install -e qe_xml_parser
25+
pip install -e python_workflow_definition
26+
conda install -c conda-forge jupyter papermill
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 pyiron_base_nfdi.ipynb pyiron_base_nfdi_out.ipynb -k "python3"
37+
papermill jobflow_nfdi.ipynb jobflow_nfdi_out.ipynb -k "python3"

0 commit comments

Comments
 (0)