-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from materialdigital/test
add continous integration
- Loading branch information
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |