Add Jupyter notebook for versioning workflows #4
Workflow file for this run
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
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2023 The Foundry Visionmongers Ltd | |
name: Examples | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-notebooks: | |
name: "Build Notebooks ${{ matrix.os }} python-${{ matrix.python }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows-latest", "ubuntu-latest", "macos-latest"] | |
python: ["3.7", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: | | |
python -m pip install . | |
python -m pip install -r examples/resources/requirements.txt | |
- name: Build Notebooks | |
run: jupyter nbconvert --to html --execute examples/versioning.ipynb |