chore: release version 1.1.9 #634
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: "docs" | |
on: | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- '.pre-commit-config.yaml' | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install sndfile library # for librose, see https://github.com/deepcharles/ruptures/pull/121 | |
run: | | |
sudo apt-get install libsndfile1-dev | |
- name: Install ruptures and dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install .[docs] | |
- name: Run notebooks | |
run: | | |
find ./docs -name '*.ipynb' | xargs -P 3 -I % jupyter nbconvert --inplace --to notebook --ExecutePreprocessor.kernel_name=python --execute % | |
- name: Build documentation | |
run: | | |
mkdocs build | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: DocumentationHTML | |
path: site/ |