Skip to content

Commit

Permalink
ci: use uv to auto activate venv
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 21, 2024
1 parent b8f566d commit 82d5647
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
uses: astral-sh/[email protected]
with:
version: "0.4.x"
python-version: "3.13"

- name: update apt-get
run: sudo apt-get update -y -q
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ibis-backends-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: "${{ matrix.python-version }}"

- name: install additional deps
if: matrix.backend.key == 'snowpark'
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: ${{ matrix.python-version }}

- uses: extractions/setup-just@v2
env:
Expand Down Expand Up @@ -486,6 +488,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: ${{ matrix.python-version }}

- name: install other deps
if: matrix.backend.additional_deps != null
Expand Down Expand Up @@ -601,6 +605,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: ${{ matrix.python-version }}

# it requires a version of pandas that pyspark is not compatible with
- name: remove lonboard
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ibis-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: "3.11"

- name: install system dependencies
run: sudo apt-get install -qq -y build-essential libgeos-dev freetds-dev unixodbc-dev
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ibis-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: ${{ matrix.python-version }}

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

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: "3.13"

- name: install system dependencies
run: |
Expand Down Expand Up @@ -154,6 +158,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: "3.10"

- uses: extractions/setup-just@v2
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- name: install uv
uses: astral-sh/[email protected]
with:
python-version: "3.13"

- uses: extractions/setup-just@v2
env:
Expand Down

0 comments on commit 82d5647

Please sign in to comment.