Add bias detection to preprocessing #2365
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Notebooks | |
on: | |
- push | |
- pull_request_target | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
notebook: [ | |
"docs/tutorials/notebooks/ehrapy_introduction.ipynb", | |
"docs/tutorials/notebooks/mimic_2_introduction.ipynb", | |
"docs/tutorials/notebooks/mimic_2_survival_analysis.ipynb", | |
"docs/tutorials/notebooks/mimic_2_fate.ipynb", | |
"docs/tutorials/notebooks/mimic_2_causal_inference.ipynb", | |
# "docs/tutorials/notebooks/mimic_3_demo.ipynb", | |
# "docs/tutorials/notebooks/medcat.ipynb", | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
token: "${{ secrets.CT_SYNC_TOKEN }}" | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install UV | |
run: pip install uv | |
- name: Install ehrapy | |
run: uv pip install --system . | |
- name: Install additional dependencies | |
run: uv pip install --system cellrank | |
- name: Install nbconvert ipykernel | |
run: uv pip install --system nbconvert ipykernel | |
- name: Run ${{ matrix.notebook }} Notebook | |
run: jupyter nbconvert --to notebook --execute ${{ matrix.notebook }} |