add citation #397
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 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 |