Skip to content

Update README.rst

Update README.rst #127

Workflow file for this run

name: Python Package using Conda
on: [push]
jobs:
test:
name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# drop testing on macOS because of hours limits for private repos
os: [ubuntu-latest, windows-latest] #, macOS-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout Code
uses: actions/[email protected]
- name: Create Testing Environment
uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
environment-file: .github/workflows/conda-envs/conda-lock.yml
channels: conda-forge,defaults
activate-environment: test
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
- name: Install package
shell: bash -l {0} # conda stetup requires this special shell
run: |
pip install . --no-deps
- name: Run tests
shell: bash -l {0} # conda setup requires this special shell
run: |
pytest