Skip to content

Commit e43002f

Browse files
authored
Merge pull request #101 from ImagingDataCommons/add-nb-ci-test
check notebooks conform to general expectations
2 parents 34bb350 + ac4b899 commit e43002f

File tree

6 files changed

+328
-175
lines changed

6 files changed

+328
-175
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Check Notebook Standards
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
paths:
7+
- "notebooks/**/*.ipynb"
8+
- ".github/workflows/check_notebook_standards.yml"
9+
- "test/src/check_notebook_standards.py"
10+
pull_request:
11+
branches: [ "master" ]
12+
paths:
13+
- "notebooks/**/*.ipynb"
14+
- ".github/workflows/check_notebook_standards.yml"
15+
- "test/src/check_notebook_standards.py"
16+
17+
jobs:
18+
check_standards:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: "3.11"
28+
29+
- name: Check notebook standards
30+
run: python test/src/check_notebook_standards.py

notebooks/collections_demos/nlst_exploration.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"\n",
4444
"Initial release: Sept 2024\n",
4545
"\n",
46-
"Prepared by: Andrey Fedorov"
46+
"Prepared by: Andrey Fedorov\n",
47+
"\n",
48+
"Updated: Feb 2026"
4749
],
4850
"metadata": {
4951
"id": "xHaCamADy1Q_"

0 commit comments

Comments
 (0)