File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : sqlite demo db build
2+ on :
3+ pull_request_review :
4+ types : [submitted]
5+
6+ jobs :
7+ mimic-iv-sqlite :
8+ # only run if PR is approved
9+ if : github.event.review.state == 'approved'
10+ runs-on : ubuntu-20.04
11+
12+ steps :
13+ - name : Check out repository code
14+ uses : actions/checkout@v3
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : ' 3.10'
20+
21+ - name : Python dependencies
22+ run : |
23+ pip install pandas
24+
25+ - name : Download demo data
26+ uses : ./.github/actions/download-demo
27+ with :
28+ gcp-project-id : ${{ secrets.GCP_PROJECT_ID }}
29+ gcp-sa-key : ${{ secrets.GCP_SA_KEY }}
30+
31+ - name : Load icu/hosp data into SQLite
32+ run : |
33+ echo "Running SQLite build."
34+ python ${BUILDCODE_PATH}/import.py
35+
36+ echo `md5sum mimic4.db`
37+
38+ env :
39+ BUILDCODE_PATH : mimic-iv/buildmimic/sqlite
You can’t perform that action at this time.
0 commit comments