Use tuples for slice dimensions #291
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: test | |
on: | |
push: null | |
jobs: | |
test: | |
name: test | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, macos-14] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up conda environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: conda-lock.yml | |
environment-name: ci | |
create-args: --category main dev | |
- name: Install project | |
env: | |
ICECUBE_PASSWORD: ${{ secrets.ICECUBE_PASSWORD }} | |
run: | | |
pip install --no-deps . | |
pip check | |
- name: Run unit tests | |
run: | | |
pytest tests | |
# Too memory-hungry for GitHub hosted runners | |
# - name: Run demo notebooks | |
# run: | | |
# pytest --nbmake notebooks |