Skip to content

Commit c6fc91a

Browse files
CI: Correct install of pysindy in CI
1 parent 673d8b3 commit c6fc91a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/pysindy.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ name: pysindy-commit
1111
# on: workflow_dispatch
1212

1313
on:
14-
schedule:
15-
# run twice a month during times when hopefully few other jobs are scheduled
16-
- cron: '0 12 6,21 * *'
17-
14+
# Requires adding a Personal Access Token as a secret to pysindy in order
15+
# in order to trigger CI
16+
repository_dispatch:
17+
types: [pysindy-commit]
18+
# If you don't want to do all that, use cron trigger instead
19+
# schedule:
20+
# # run twice a month during times when hopefully few other jobs are scheduled
21+
# - cron: '0 12 6,21 * *'
1822

1923
jobs:
2024
find-notebooks:
@@ -47,7 +51,7 @@ jobs:
4751
- name: Install dependencies
4852
run: pip install -r examples/requirements.txt
4953
- name: "Install most current pysindy"
50-
run: pip install pysindy[sbr,cvxpy,miosr] @ git+https://github/dynamicslab/pysindy@master
54+
run: pip install "pysindy[sbr,cvxpy,miosr] @ git+https://github/dynamicslab/pysindy@master"
5155
- name: "Run notebooks"
5256
run: |
5357
jupyter nbconvert --execute --to notebook --inplace ${{ matrix.files }}

0 commit comments

Comments
 (0)