Skip to content

Commit b3d652f

Browse files
committed
ci: use uv torch backend = auto
1 parent 1746e16 commit b3d652f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/documentation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: [main]
66

7+
env:
8+
UV_TORCH_BACKEND: "auto" # only used with uv pip install
9+
710
jobs:
811
Documentation:
912
runs-on: ubuntu-latest
@@ -16,7 +19,7 @@ jobs:
1619
with:
1720
cache-suffix: -docs-${{ matrix.python-version }}-${{ env.WEEK }}
1821
- name: Install dependencies
19-
run: uv sync --group docs --group dev
22+
run: uv pip install --group docs --group dev
2023
- name: Set up Git
2124
run: |
2225
git config user.name ${{ github.actor }}

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: [main]
77

88
env:
9-
UV_TORCH_BACKEND: "auto"
9+
UV_TORCH_BACKEND: "auto" # only used with uv pip install
1010

1111
jobs:
1212
Linting:
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
cache-suffix: -tests-${{ matrix.python-version }}-${{ env.WEEK }}
4545
- name: Install dependencies
46-
run: uv sync --group dev
46+
run: uv pip install --group dev
4747

4848
- name: Test with Pytest on Python ${{ matrix.python-version }}
4949
run: |
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
cache-suffix: -docs-${{ matrix.python-version }}-${{ env.WEEK }}
9090
- name: Install dependencies
91-
run: uv sync --group docs --group dev
91+
run: uv pip install --group docs --group dev
9292
- name: Build documentation
9393
run: |
9494
source .venv/bin/activate

0 commit comments

Comments
 (0)