Docstring corrections and extensions. #102
Workflow file for this run
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: notebooks testing | |
on: [push, pull_request] | |
jobs: | |
test-notebooks: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
strategy: | |
matrix: | |
python-version: ['3.9'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[test] tox-gh-actions | |
# test code *and* notebooks (tutorials and examples) | |
- name: Test the code, tutorials and examples | |
if: ${{ always() }} | |
run: | | |
tox --skip-env minimal-dependencies -- --nbval-lax --nbval-current-env |