Merge pull request #37 from materialdigital/jobflow #73
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
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" |