tmp: redo environment for latest python #70
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: Jupyter Notebooks | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
python-version: 3.9 | |
mamba-version: "*" | |
channels: conda-forge,defaults | |
miniconda-version: "latest" | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
conda env update --file environment.yml --name base | |
- name: Test with pytest | |
run: | | |
pip install . | |
conda install pytest | |
pip install nbmake==0.5 | |
pytest --nbmake "./notebooks/" | |
pytest | |