Test contributed recipes #7
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: Test contributed recipes | |
on: | |
schedule: | |
# Images are rebuilt on Monday, so we're testing recipes each Tuesday | |
# Weekly, at 03:00 on Tuesday UTC time | |
- cron: "0 3 * * 2" | |
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, | |
] |