Switch to unified view

a b/.github/workflows/run_notebooks.yml
1
name: Run Notebooks
2
3
on:
4
    - pull_request
5
6
jobs:
7
    run:
8
        runs-on: ubuntu-latest
9
        strategy:
10
            matrix:
11
                notebook: [
12
                        "docs/tutorials/notebooks/ehrapy_introduction.ipynb",
13
                        "docs/tutorials/notebooks/mimic_2_introduction.ipynb",
14
                        "docs/tutorials/notebooks/mimic_2_survival_analysis.ipynb",
15
                        # "docs/tutorials/notebooks/mimic_2_fate.ipynb",  # https://github.com/theislab/cellrank/issues/1235
16
                        "docs/tutorials/notebooks/mimic_2_causal_inference.ipynb",
17
                        # "docs/tutorials/notebooks/mimic_3_demo.ipynb",
18
                        # "docs/tutorials/notebooks/medcat.ipynb",
19
                    ]
20
        steps:
21
            - uses: actions/checkout@v4
22
              with:
23
                  submodules: "true"
24
                  token: "${{ secrets.CT_SYNC_TOKEN }}"
25
            - name: Set up Python
26
              uses: actions/setup-python@v5
27
              with:
28
                  python-version: "3.13"
29
30
            - name: Install UV
31
              run: pip install uv
32
33
            - name: Install ehrapy and additional dependencies
34
              run: uv pip install --system . cellrank nbconvert ipykernel graphviz
35
36
            - name: Install scvelo from Github
37
              run: uv pip install --system git+https://github.com/theislab/scvelo.git
38
39
            - name: Run ${{ matrix.notebook }} Notebook
40
              run: jupyter nbconvert --to notebook --execute ${{ matrix.notebook }}