sqlite demo db build #59
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: sqlite demo db build | |
on: | |
pull_request_review: | |
types: [submitted] | |
jobs: | |
mimic-iv-sqlite: | |
# only run if PR is approved | |
if: github.event.review.state == 'approved' | |
runs-on: ubuntu-20.04 | |
container: python:3.10 | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Python dependencies | |
run: | | |
pip install pandas | |
- name: Download demo data | |
uses: ./.github/actions/download-demo | |
- name: Load icu/hosp data into SQLite | |
run: | | |
echo "Running SQLite build." | |
python ${BUILDCODE_PATH}/import.py | |
echo `md5sum mimic4.db` | |
env: | |
BUILDCODE_PATH: mimic-iv/buildmimic/sqlite |