Skip to content

Commit

Permalink
Merge pull request #1783 from MIT-LCP/fix_pip_missing_in_ci
Browse files Browse the repository at this point in the history
Fix GitHub CI by using a Python container
  • Loading branch information
alistairewj authored Aug 17, 2024
2 parents e58ecab + 6c7eeaa commit 94fc7e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
# only run if PR is approved
if: github.event.review.state == 'approved'
runs-on: ubuntu-22.04
container: python:3.10

steps:
- name: Check out repository code
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/psql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
mimic-iv-psql:
# only run if PR is approved
if: github.event.review.state == 'approved'
runs-on: ubuntu-latest
container: node:latest
runs-on: ubuntu-20.04
container: python:3.10

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

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Download demo data
uses: ./.github/actions/download-demo

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ jobs:
# 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: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Python dependencies
run: |
pip install pandas
Expand Down

0 comments on commit 94fc7e5

Please sign in to comment.