Remove dispatcher plot dependencies and upgrade bokeh #1085
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: Executing Notebook | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: integralsw/osa-python:auto-latest | |
steps: | |
- uses: actions/checkout@v3 | |
#- name: Sphinx Docs build with ReadTheDocs Docker | |
# uses: DavidLeoni/[email protected] | |
# with: | |
# RTD_PRJ_NAME: oda-api | |
# GIT_URL: https://github.com/${{ github.repository }}.git | |
# GIT_TAG: ${{ env.GIT_TAG }} | |
# VERSION: ${{ env.VERSION }} | |
# REQUIREMENTS: requirements.txt | |
# LANGUAGE: ${{ env.LANGUAGE }} | |
# RTD_HTML_SINGLE: false | |
# RTD_HTML_EXT: false | |
- name: Run Tutorial Notebooks | |
run: | | |
set +e | |
cat /init.sh | |
source /etc/pyenvrc | |
which python | |
pip install --upgrade pip | |
pip install wheel | |
pip install papermill jupyter_client astropy oda-api>=1.1.1 nbconvert scipy --upgrade --ignore-installed | |
pip install 'git+https://github.com/integral-observatory/astroquery.git#egg=astroquery' | |
pip install --force-reinstall 'urllib3<2.0' # TODO: to remove after https://github.com/oda-hub/oda_api/issues/198 | |
export HOME_OVERRRIDE=/tmp/home | |
mkdir -pv /tmp/home | |
export | |
source /init.sh | |
papermill doc/source/user_guide/AsynchronousAPI.ipynb doc/source/user_guide/AsynchronousAPI-output.ipynb | |
jupyter nbconvert --to html doc/source/user_guide/AsynchronousAPI-output.ipynb | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: AsynchronousAPI-output.html | |
path: doc/source/user_guide/AsynchronousAPI-output.html | |