forked from MIT-LCP/mimic-code
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 938 Bytes
/
sqlite.yml
File metadata and controls
39 lines (31 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Python dependencies
run: |
pip install pandas
- name: Download demo data
uses: ./.github/actions/download-demo
with:
gcp-project-id: ${{ secrets.GCP_PROJECT_ID }}
gcp-sa-key: ${{ secrets.GCP_SA_KEY }}
- 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