Skip to content

Commit 94fc7e5

Browse files
authored
Merge pull request #1783 from MIT-LCP/fix_pip_missing_in_ci
Fix GitHub CI by using a Python container
2 parents e58ecab + 6c7eeaa commit 94fc7e5

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/mysql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
# only run if PR is approved
99
if: github.event.review.state == 'approved'
1010
runs-on: ubuntu-22.04
11+
container: python:3.10
1112

1213
steps:
1314
- name: Check out repository code

.github/workflows/psql.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
mimic-iv-psql:
88
# only run if PR is approved
99
if: github.event.review.state == 'approved'
10-
runs-on: ubuntu-latest
11-
container: node:latest
10+
runs-on: ubuntu-20.04
11+
container: python:3.10
1212

1313
services:
1414
# Label used to access the service container
@@ -28,11 +28,6 @@ jobs:
2828
- name: Check out repository code
2929
uses: actions/checkout@v3
3030

31-
- name: Install Python
32-
uses: actions/setup-python@v5
33-
with:
34-
python-version: '3.10'
35-
3631
- name: Download demo data
3732
uses: ./.github/actions/download-demo
3833

.github/workflows/sqlite.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ jobs:
88
# only run if PR is approved
99
if: github.event.review.state == 'approved'
1010
runs-on: ubuntu-20.04
11+
container: python:3.10
1112

1213
steps:
1314
- name: Check out repository code
1415
uses: actions/checkout@v3
1516

16-
- name: Set up Python
17-
uses: actions/setup-python@v4
18-
with:
19-
python-version: '3.10'
20-
2117
- name: Python dependencies
2218
run: |
2319
pip install pandas

0 commit comments

Comments
 (0)