File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defaults:
1616
1717env :
1818 HF_TOKEN : ${{ secrets.HF_TOKEN }}
19+ UV_HTTP_TIMEOUT : 500
1920
2021jobs :
2122 cpu-tests :
@@ -33,20 +34,22 @@ jobs:
3334 timeout-minutes : 25
3435
3536 steps :
36- - uses : actions/checkout@v3
37+ - uses : actions/checkout@v4
3738
3839 - name : Set up Python ${{ matrix.python-version }}
3940 uses : actions/setup-python@v4
4041 with :
4142 python-version : ${{ matrix.python-version }}
42- cache : ' pip '
43- cache-dependency-path : |
44- pyproject.toml
43+
44+ - name : Install uv
45+ run : pip install uv
4546
4647 - name : Install minimal dependencies
4748 run : |
48- pip install .
49- pip list
49+ # uv pip install . is not yet supported, only `-e .`
50+ # https://github.com/astral-sh/uv/issues/1896
51+ uv pip install --system -e .
52+ uv pip list
5053 # make sure all modules are still importable with only the minimal dependencies available
5154 modules=$(
5255 find litgpt -type f -name "*.py" | \
5861
5962 - name : Install all dependencies
6063 run : |
61- pip install '.[all,test]'
62- pip list
64+ uv pip install --system -e '.[all,test]'
65+ uv pip list
6366
6467 - name : Run tests
6568 run : |
You can’t perform that action at this time.
0 commit comments