-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from Saityi/ipynb-regression-check
Run notebook examples in CI
- Loading branch information
Showing
44 changed files
with
2,554 additions
and
47,505 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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.9 | ||
- 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 |
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
This file was deleted.
Oops, something went wrong.
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
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
2 changes: 0 additions & 2 deletions
2
...full_fledged_schema_examples_new/CasualLoopDiagrams/convert_from_SEIR_stockFlowDiagram.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # Convert from SEIR Stock Flow Diagram | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
docs/literate/full_fledged_schema_examples_new/composition/COVID_full_model.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # COVID Full Model | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
...terate/full_fledged_schema_examples_new/composition/SEIR_full_model_measles_chickenpox.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # SEIR Full Model Measles Chickenpox | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
...erate/full_fledged_schema_examples_new/composition/composed_open_population_SIRV_model.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # Composed Open Population SIRV Model | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
...ll_fledged_schema_examples_new/composition/curable_sexually_transmitted_diseases_model.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # Curable Sexually-Transmitted Diseases Model | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
docs/literate/full_fledged_schema_examples_new/composition/diabetes_model.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # Diabetes Model | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
docs/literate/full_fledged_schema_examples_new/stratification/diabetes_diagnose.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # Diabetes Diagnose | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
docs/literate/full_fledged_schema_examples_new/stratification/sir_linear_stratification.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # SIR Linear Stratification | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
...te/full_fledged_schema_examples_new/stratification/sir_linear_stratification.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
docs/literate/full_fledged_schema_examples_new/stratification/sir_standard_stratification.jl
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# # SIR Standard Stratification | ||
|
||
using GraphViz | ||
|
||
using StockFlow | ||
using StockFlow.Syntax | ||
|
||
|
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
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
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
Oops, something went wrong.
d636847
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
d636847
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/113693
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: