Skip to content

Fix: Avoid error when missing dataset dependency (#241) #396

Fix: Avoid error when missing dataset dependency (#241)

Fix: Avoid error when missing dataset dependency (#241) #396

Workflow file for this run

name: test documentation
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
docs:
name: test documentation
runs-on: ubuntu-latest
env:
SPHINX_GITHUB_CHANGELOG_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: pip install -r docs/requirements.txt
- name: Install Minari
run: pip install .[all,testing]
- name: Build
run: sphinx-build -b dirhtml -v docs _build
- name: Run markdown documentation tests
run: pytest tests/test_docs.py
- name: Run tutorial documentation tests
run: pytest --nbmake docs/tutorials/**/*.ipynb --nbmake-timeout=600