Yujie update examplesnew for catlab 0.17 #129
Workflow file for this run
This file contains hidden or 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: Check notebook examples for regressions | |
on: [push, pull_request] | |
env: | |
JULIA_NUM_THREADS: 'auto' | |
jobs: | |
notebooks-examples-regression-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: 1.11 | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- name: Create Julia files from Jupyter Notebook examples | |
run: | | |
mkdir ./jlexamples | |
./ipynb-to-jl.sh "full_fledged_schema_examples" | |
./ipynb-to-jl.sh "full_fledged_schema_examples_new" | |
- name: Validate notebook examples by running | |
run: julia -p auto --project="." -e 'include("./run_notebooks.jl")' | |
- name: Clean up Julia files from Jupyter Notebook examples | |
run: rm -rf jlexamples |