Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run notebooks in CI #122

Merged
merged 7 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Notebooks

on:
push:
branches: [ develop ]
pull_request:
branches: [ main, develop ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Initialize Python
uses: actions/[email protected]
with:
python-version: '3.11'
- name: Setup Python
run: |
python -m pip install --upgrade pip jupyter
python -m pip install .
python -m ipykernel install --user --name run-notebook --display-name "Run notebook"
- name: Run notebooks
run: |
# The functional annotation of RPGRIP1, STXBP1, and KBG takes too long.
# However, we can add them later, if we will really want that.
cohorts=(MAPK8IP3 PPP2R1A SUOX)
for cohort in ${cohorts[@]}; do
nb="notebooks/${cohort}/${cohort}.ipynb"
printf "Processing notebook at %s\n" ${nb}
jupyter execute --kernel_name run-notebook ${nb}
done
1,492 changes: 751 additions & 741 deletions ...inez_PMID_36446582_RunGenoPhenoCorr.ipynb → notebooks/KBG/KBG.ipynb

Large diffs are not rendered by default.

868 changes: 208 additions & 660 deletions notebooks/MAPK8IP3/MAPK8IP3.ipynb

Large diffs are not rendered by default.

Loading