Merge pull request #2259 from speechbrain/main #19
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: Verify docs generation | |
# Runs on pushes to master and all pull requests | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [main, develop] | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Full dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install --editable . | |
pip install -r docs/docs-requirements.txt | |
- name: Generate docs | |
run: | | |
cd docs | |
make html |