Skip to content

Remove Prefix from CI #929

Remove Prefix from CI

Remove Prefix from CI #929

Workflow file for this run

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"