Skip to content

Commit aa8d6e5

Browse files
committed
CI doesn't need the analyzer deps
1 parent b8b02e2 commit aa8d6e5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- name: Install dependencies
2222
run: |
23-
uv sync --frozen --all-extras
23+
uv sync --frozen --extra dev
2424
uv tool install tox --with tox-uv
2525
2626
- name: Run CI

docker-compose/django/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ ENV UV_LINK_MODE=copy
1313
ENV UV_PYTHON_DOWNLOADS=never
1414
ENV UV_PROJECT_ENVIRONMENT=/.venv
1515

16-
# Pep668 prevents pip from modifying system packages
17-
# https://peps.python.org/pep-0668/
18-
ENV PIP_BREAK_SYSTEM_PACKAGES=1
1916

2017
RUN apt-get -y update
2118
RUN apt-get -y install \
@@ -74,6 +71,7 @@ COPY ./docker-compose/django/celery/beat/start /start-celerybeat
7471
RUN chmod +x /start-celerybeat
7572

7673
# Load model
74+
# Not needed if you don't use the analyzer
7775
RUN uv run python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('multi-qa-MiniLM-L6-cos-v1', cache_folder='/tmp/sentence_transformers')"
7876

7977
# Setup the locale

0 commit comments

Comments
 (0)