Skip to content

Fix guide github action (#730) #512

Fix guide github action (#730)

Fix guide github action (#730) #512

Workflow file for this run

name: Docs
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install package
run: |
pip install -e .
- name: Install requirements.txt
run: |
pip install -r requirements.txt
- name: Install docs/requirements.txt
run: |
python -m pip install --upgrade pip setuptools
pip install -r docs/requirements.txt
- name: sphinx
run: |
cd docs && make html