Skip to content

Test contributed recipes #4

Test contributed recipes

Test contributed recipes #4

name: Test contributed recipes
on:
schedule:
# Images are rebuilt at 03:00 on Monday UTC
# So we're testing recipes one hour in advance
# They will also be tested after building images
- cron: "0 2 * * 1"
pull_request:
paths:
- ".github/workflows/contributed-recipes.yml"
- "docs/using/recipe_code/"
push:
branches:
- main
paths:
- ".github/workflows/contributed-recipes.yml"
- "docs/using/recipe_code/"
workflow_dispatch:
workflow_call:
jobs:
test-recipes:
runs-on: ubuntu-latest
if: github.repository == 'jupyter/docker-stacks'
steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v3
- name: Build recipe 🛠
run: docker build --rm --force-rm --tag my-custom-image -f ./${{ matrix.dockerfile }} ./
env:
DOCKER_BUILDKIT: 1
# Full logs for CI build
BUILDKIT_PROGRESS: plain
working-directory: docs/using/recipe_code
shell: bash
strategy:
matrix:
dockerfile:
[
custom_environment.dockerfile,
dask_jupyterlab.dockerfile,
jupyterhub_version.dockerfile,
mamba_install.dockerfile,
manpage_install.dockerfile,
microsoft_odbc.dockerfile,
pip_install.dockerfile,
spellcheck_notebookv6.dockerfile,
rise_jupyterlab.dockerfile,
xgboost.dockerfile,
]