Skip to content

Fix ndarray dimension reduction in Transport.rate #2310

Fix ndarray dimension reduction in Transport.rate

Fix ndarray dimension reduction in Transport.rate #2310

Workflow file for this run

name: Examples
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
max-parallel: 1
matrix:
python-version: ['3.9']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies (pip)
run: |
pip install \
-r requirements.txt \
-r requirements/tests.txt
- name: Running tests
run:
pytest examples/
--nbval-lax