Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Build docs on 37 #2684

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 17 additions & 9 deletions .github/workflows/testdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,28 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.5
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}-${{hashFiles('**/requirements.txt')}}
restore-keys: |
${{ runner.os }}-pip-
python-version: 3.6
- name: Install dependencies
run: |
sudo apt-get install -y pandoc
python -m pip install --upgrade pip
conda install
- uses: goanpeca/setup-miniconda@v1
with:
auto-update-conda: true
environment-file: docs/environment.yml
activate-environment: ipywidget_docs
- name: Install ipywidgets
run: |
which python
which conda
python --version
conda info
pip install file://$PWD#egg=ipywidgets
pip install -r ./docs/requirements.txt
- name: Build docs
run: |
which python
which conda
python --version
conda info
cd docs
make html
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
- nbformat
- nbsphinx
- notebook>=4.2
- python=3.6
- python=3.7
- sphinx>=1.4.6
- sphinx_rtd_theme
- tornado
Expand Down