Update installation instructions #2
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: Python Package using Conda | |
on: [push] | |
jobs: | |
test: | |
name: Test python ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: [3.12] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: install mamba | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: 'latest' | |
auto-update-conda: false | |
use-only-tar-bz2: false | |
environment-file: DO.yml | |
environment-name: DO | |
- name: Install test packages | |
shell: bash -l {0} | |
run: | | |
pip install pytest nbconvert nbformat | |
- name: which python | |
shell: bash -l {0} | |
run: | | |
which python | |
- name: Test with pytest | |
shell: bash -l {0} | |
run: | | |
pytest .github/workflows/test_do_notebooks.py |