File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Monthly Notebook Check
2+
3+ on :
4+ # schedule:
5+ # - cron: '0 8 1 * *' # Every month on the 1st at 08:00 UTC
6+ workflow_dispatch : # Allows manual run from GitHub UI
7+
8+ jobs :
9+ test-notebooks :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout Repo
14+ uses : actions/checkout@v3
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : ' 3.10'
20+
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ pip install nbformat nbconvert jupyter ipykernel
25+ python -m ipykernel install --user --name=python3
26+
27+ - name : List notebook files
28+ run : ls -la notebooks
29+
30+ - name : Run notebook tests
31+ run : |
32+ set -e
33+ python tools/run_notebooks.py
You can’t perform that action at this time.
0 commit comments