Upgrade to Catlab 0.17 #131
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 | |
strategy: | |
matrix: | |
version: ['1.11', '1.12'] # Current compat range in Project.toml | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.version }} | |
- 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 |