Skip to content

Commit 4a38920

Browse files
committed
ci: use uv to auto activate venv
1 parent 42b333b commit 4a38920

6 files changed

+19
-0
lines changed

.github/workflows/check-generated-files.yml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
uses: astral-sh/[email protected]
4848
with:
4949
version: "0.4.x"
50+
python-version: "3.13"
5051

5152
- name: update apt-get
5253
run: sudo apt-get update -y -q

.github/workflows/ibis-backends-cloud.yml

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112

113113
- name: install uv
114114
uses: astral-sh/[email protected]
115+
with:
116+
python-version: "${{ matrix.python-version }}"
115117

116118
- name: install additional deps
117119
if: matrix.backend.key == 'snowpark'

.github/workflows/ibis-backends.yml

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666

6767
- name: install uv
6868
uses: astral-sh/[email protected]
69+
with:
70+
python-version: ${{ matrix.python-version }}
6971

7072
- uses: extractions/setup-just@v2
7173
env:
@@ -486,6 +488,8 @@ jobs:
486488

487489
- name: install uv
488490
uses: astral-sh/[email protected]
491+
with:
492+
python-version: ${{ matrix.python-version }}
489493

490494
- name: install other deps
491495
if: matrix.backend.additional_deps != null
@@ -601,6 +605,8 @@ jobs:
601605

602606
- name: install uv
603607
uses: astral-sh/[email protected]
608+
with:
609+
python-version: ${{ matrix.python-version }}
604610

605611
# it requires a version of pandas that pyspark is not compatible with
606612
- name: remove lonboard

.github/workflows/ibis-benchmarks.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131

3232
- name: install uv
3333
uses: astral-sh/[email protected]
34+
with:
35+
python-version: "3.11"
3436

3537
- name: install system dependencies
3638
run: sudo apt-get install -qq -y build-essential libgeos-dev freetds-dev unixodbc-dev

.github/workflows/ibis-main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565

6666
- name: install uv
6767
uses: astral-sh/[email protected]
68+
with:
69+
python-version: ${{ matrix.python-version }}
6870

6971
- name: install ${{ matrix.os }} system dependencies
7072
if: matrix.os == 'ubuntu-latest'
@@ -121,6 +123,8 @@ jobs:
121123

122124
- name: install uv
123125
uses: astral-sh/[email protected]
126+
with:
127+
python-version: "3.13"
124128

125129
- name: install system dependencies
126130
run: |
@@ -154,6 +158,8 @@ jobs:
154158

155159
- name: install uv
156160
uses: astral-sh/[email protected]
161+
with:
162+
python-version: "3.10"
157163

158164
- uses: extractions/setup-just@v2
159165
env:

.github/workflows/pre-release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131

3232
- name: install uv
3333
uses: astral-sh/[email protected]
34+
with:
35+
python-version: "3.13"
3436

3537
- uses: extractions/setup-just@v2
3638
env:

0 commit comments

Comments
 (0)