Skip to content

Add Awkward more info link. #27

Add Awkward more info link.

Add Awkward more info link. #27

name: Build in repo2docker container.
on:
push:
pull_request:
schedule:
- cron: '00 4 * * *' # daily at 4AM
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout files in repo.
uses: actions/checkout@main
- name: Set up Python 3.x.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
# This cache contains the notebook outputs
# See https://jupyterbook.org/content/execute.html#caching-the-notebook-execution
_build/.jupyter_cache
key: ${{ runner.os }}-jupyter_cache
- name: Install jupyter-repo2docker
shell: bash -l {0}
run: |
set -vxeuo pipefail
python -m pip install -r binder/requirements-dev.txt
- name: Execute notebooks with Jupyter Book.
shell: bash -l {0}
run: |
set -vxeuo pipefail
# Use an editable installation so the _build/.jupyter_cache is
# mounted in the container and therefore the cache can be used.
jupyter-repo2docker --editable . /bin/bash -c "jupyter-book build -W ."