Skip to content

Commit

Permalink
Change test for docs to be closer to readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbugnion committed Jan 8, 2020
1 parent fd18aa9 commit 17c6c7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/testdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,17 @@ 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.7
- name: Install dependencies
run: |
sudo apt-get install -y pandoc
python -m pip install --upgrade pip
- name: Setup conda environment
uses: matthewrmshin/conda-action@v1
with:
args: conda env create --file docs/environment.yml
- name: Install ipywidgets
run: |
pip install file://$PWD#egg=ipywidgets
pip install -r ./docs/requirements.txt
- name: Build docs
run: |
cd docs
Expand Down
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

0 comments on commit 17c6c7b

Please sign in to comment.