Skip to content

Merge pull request #39 from fangohr/binder-requirements-need-pyarrow #37

Merge pull request #39 from fangohr/binder-requirements-need-pyarrow

Merge pull request #39 from fangohr/binder-requirements-need-pyarrow #37

Workflow file for this run

name: nbval
on:
push:
# all
workflow_dispatch:
jobs:
docker-build-and-nbval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-buildx-${{ hashFiles('poetry.lock') }}
# This build and push step does the same thing as `make docker-build`, but
# makes it easier to store and load caches, which is why we use it instead
- name: Build and Save Layers Locally
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
load: true
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
tags: python4compscience
- name: List Available Images
run: docker images
- name: Run NBVAL over all chapters
run: make docker-nbval