Skip to content

Commit

Permalink
Merge pull request #11 from materialdigital/test
Browse files Browse the repository at this point in the history
add continous integration
  • Loading branch information
jan-janssen authored Apr 30, 2024
2 parents 6b21203 + 7288d22 commit 1797ac0
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/aiida.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: aiida

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
pip install -e aiida_qe_basic
conda install -c conda-forge jupyter papermill
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
papermill aiida.ipynb aiida-out.ipynb -k "python3"
28 changes: 28 additions & 0 deletions .github/workflows/jobflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: jobflow

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
pip install -e aiida_qe_basic
conda install -c conda-forge jupyter papermill
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
papermill jobflow.ipynb jobflow-out.ipynb -k "python3"
28 changes: 28 additions & 0 deletions .github/workflows/pyiron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: pyiron

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.11"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
shell: bash -l {0}
run: |
pip install -e aiida_qe_basic
conda install -c conda-forge jupyter papermill
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
papermill pyiron_base.ipynb pyiron_base-out.ipynb -k "python3"

0 comments on commit 1797ac0

Please sign in to comment.