Skip to content

Commit

Permalink
Merge pull request #46 from materialdigital/aiida_ci
Browse files Browse the repository at this point in the history
Add continuous integration for new AiiDA example
  • Loading branch information
jan-janssen authored Nov 7, 2024
2 parents 4d25b36 + 98f8db3 commit 07dd595
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/aiida.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
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
verdi presto
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo
papermill aiida.ipynb aiida-out.ipynb -k "python3"
2 changes: 1 addition & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
environment-file: book/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delpoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
environment-file: book/environment.yml
auto-activate-base: false
- name: Install Jupyterbook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jobflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pyiron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.11"
python-version: "3.12"
environment-file: environment.yml
auto-activate-base: false
- name: Tests
Expand Down
2 changes: 1 addition & 1 deletion aiida.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.12
- pyiron_base=0.10.6
- qe=7.2
- qe-tools=2.0.0
- ase=3.23.0
- matplotlib=3.8.4
- xmlschema=3.3.1
- matplotlib=3.9.2
- xmlschema=3.4.2
- jobflow=0.1.18
- pymatgen=2024.3.1
- aiida-core=2.5.2
- aiida-core.services
- pymatgen=2024.10.29
- aiida-core=2.6.2
- aiida-shell=0.8.0
1 change: 1 addition & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pip install -e aiida_qe_basic
verdi presto

0 comments on commit 07dd595

Please sign in to comment.