File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66
7+ env :
8+ UV_TORCH_BACKEND : " auto" # only used with uv pip install
9+
710jobs :
811 Documentation :
912 runs-on : ubuntu-latest
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 : |
23+ uv venv
24+ source .venv/bin/activate
25+ uv pip install -e . --group docs --group dev
2026 - name : Set up Git
2127 run : |
2228 git config user.name ${{ github.actor }}
Original file line number Diff line number Diff line change 66 branches : [main]
77
88env :
9- UV_TORCH_BACKEND : " auto"
9+ UV_TORCH_BACKEND : " auto" # only used with uv pip install
1010
1111jobs :
1212 Linting :
4343 with :
4444 cache-suffix : -tests-${{ matrix.python-version }}-${{ env.WEEK }}
4545 - name : Install dependencies
46- run : uv sync --group dev
46+ run : |
47+ uv venv
48+ source .venv/bin/activate
49+ uv pip install -e . --group dev
4750
4851 - name : Test with Pytest on Python ${{ matrix.python-version }}
4952 run : |
8891 with :
8992 cache-suffix : -docs-${{ matrix.python-version }}-${{ env.WEEK }}
9093 - name : Install dependencies
91- run : uv sync --group docs --group dev
94+ run : |
95+ uv venv
96+ source .venv/bin/activate
97+ uv pip install -e . --group docs --group dev
9298 - name : Build documentation
9399 run : |
94100 source .venv/bin/activate
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ git clone ssh://git@github.com/aphp/confit.git
1717cd confit
1818
1919# Install the library with its dev dependencies
20- uv sync --group dev --group docs
20+ uv pip install -e . --group dev --group docs
2121
2222# Activate the virtual environment
2323source .venv/bin/activate
You can’t perform that action at this time.
0 commit comments