Merge pull request #1731 from pyiron/readthedocs #947
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: Usecase ADIS | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Merge Notebook environment | |
run: | | |
cp .ci_support/environment.yml environment.yml | |
tail --lines=+4 tests/usecases/ADIS/environment.yml >> environment.yml | |
echo -e "channels:\n - conda-forge\n" > .condarc | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: "3.12" | |
miniforge-version: latest | |
condarc-file: .condarc | |
environment-file: environment.yml | |
- name: Tests | |
shell: bash -l {0} | |
run: | | |
bash .ci_support/pip_install.sh | |
cd tests/usecases/ADIS | |
export ESPRESSO_PSEUDO=$(pwd)/espresso/pseudo | |
papermill notebook.ipynb notebook-out.ipynb -k "python3" |