Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub CI by using a Python container #1783

Merged
merged 2 commits into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading