Skip to content

Commit 94ec1fe

Browse files
use pre built UV image for service tests
1 parent 309252f commit 94ec1fe

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
service-tests:
2121
name: Service Tests
2222
runs-on: ubuntu-latest
23+
container: ghcr.io/astral-sh/uv:python3.11-bookworm-slim
2324
env:
2425
HF_HOME: ${{ github.workspace }}/hf_cache
2526
steps:
@@ -37,20 +38,20 @@ jobs:
3738
mkdir -p ~/.huggingface
3839
echo '{"token":"${{ secrets.HF_TOKEN }}"}' > ~/.huggingface/token
3940
40-
- name: Install Python
41-
uses: actions/setup-python@v5
42-
with:
43-
python-version: ${{ env.PYTHON_VERSION }}
44-
45-
- name: Install uv
46-
uses: astral-sh/setup-uv@v6
47-
with:
48-
version: ${{ env.UV_VERSION }}
49-
enable-cache: true
50-
python-version: ${{ env.PYTHON_VERSION }} # sets UV_PYTHON
51-
cache-dependency-glob: |
52-
pyproject.toml
53-
uv.lock
41+
# - name: Install Python
42+
# uses: actions/setup-python@v5
43+
# with:
44+
# python-version: ${{ env.PYTHON_VERSION }}
45+
46+
# - name: Install uv
47+
# uses: astral-sh/setup-uv@v6
48+
# with:
49+
# version: ${{ env.UV_VERSION }}
50+
# enable-cache: true
51+
# python-version: ${{ env.PYTHON_VERSION }} # sets UV_PYTHON
52+
# cache-dependency-glob: |
53+
# pyproject.toml
54+
# uv.lock
5455

5556
- name: Install dependencies
5657
run: |

0 commit comments

Comments
 (0)