Skip to content

Commit f42b1f0

Browse files
committed
Split python test pipeline into a separate step
1 parent 8939c2c commit f42b1f0

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ jobs:
6868

6969
- uses: dtolnay/rust-toolchain@stable
7070

71-
- uses: astral-sh/setup-uv@v5
72-
with:
73-
enable-cache: true
74-
7571
- name: Pull the Postgres/MySQL images
7672
run: |
7773
docker pull ${{ env.PG_DOCKER_IMAGE }}
@@ -114,6 +110,24 @@ jobs:
114110
- name: Run tests
115111
run: make test
116112

113+
python-integration-test:
114+
name: Python Tests
115+
runs-on: ubuntu-latest
116+
117+
steps:
118+
- uses: actions/checkout@v4
119+
120+
- uses: dtolnay/rust-toolchain@stable
121+
122+
- uses: astral-sh/setup-uv@v5
123+
with:
124+
enable-cache: true
125+
126+
- name: Install ODBC & Sqlite
127+
run: |
128+
sudo apt-get install -y unixodbc-dev
129+
sudo apt-get install -y libsqlite3-dev
130+
117131
- name: Build Python package
118132
run: |
119133
cargo install --locked --git https://github.com/roapi/roapi --branch main --bins roapi
@@ -122,6 +136,7 @@ jobs:
122136
uv sync --dev --no-install-package datafusion
123137
uv run --no-project maturin develop --uv
124138
139+
125140
- name: Run Python tests
126141
run: |
127142
cd python/python/tests

0 commit comments

Comments
 (0)