-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trapping_extended-jake' into trapping_extended
- Loading branch information
Showing
299 changed files
with
18,726 additions
and
8,667 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
on: | ||
schedule: | ||
# run twice a month during times when hopefully few other jobs are scheduled | ||
- cron: '0 12 6,21 * *' | ||
|
||
jobs: | ||
find-notebooks: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
paths: ${{ steps.find-notebooks.outputs.paths }} | ||
steps: | ||
- name: List Files | ||
id: find-notebooks | ||
uses: mirko-felice/[email protected] | ||
with: | ||
repo: ${{ github.repository }} | ||
ref: ${{ github.ref }} | ||
path: "examples" | ||
ext: ".ipynb" | ||
|
||
run-notebooks: | ||
needs: find-notebooks | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
files: ${{ fromJson(needs.find-notebooks.outputs.paths) }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.9" | ||
- name: Install dependencies | ||
run: | | ||
pip install .[cvxpy,miosr] sympy nbconvert jupyter matplotlib seaborn pandas dysts | ||
- name: Run Notebook | ||
run: | | ||
jupyter nbconvert --execute --to notebook --inplace ${{ matrix.files }} |
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
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.