Skip to content

Commit

Permalink
Ignore mp4 file
Browse files Browse the repository at this point in the history
  • Loading branch information
mawandm committed Apr 12, 2024
1 parent e6c9f2b commit d228276
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_rag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
apt install ffmpeg -y
pip install -r nesis/rag/requirements.txt -r nesis/rag/requirements-test.txt -r nesis/rag/requirements-huggingface.txt
- name: Run unit tests
env:
Expand Down
4 changes: 2 additions & 2 deletions nesis/rag/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY nesis/rag/requirements-torch-cpu-x86.txt /app/nesis/rag/requirements-torch-
RUN apt-get update \
&& python -m venv /app/.venv \
&& /app/.venv/bin/pip install -r /app/nesis/rag/requirements.txt \
-r requirements-torch-cpu-x86.txt -r /app/nesis/rag/requirements-huggingface.txt \
-r /app/nesis/rag/requirements-torch-cpu-x86.txt -r /app/nesis/rag/requirements-huggingface.txt \
--default-timeout=1200


Expand All @@ -16,7 +16,7 @@ FROM python:3.11.6-slim-bookworm
RUN apt-get update \
&& apt-get clean \
&& adduser --system --home /app --shell /bin/bash nesis \
&& apt install ffmpeg
&& apt install ffmpeg -y

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion nesis/rag/tests/rag/core/server/test_ingestion_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def settings() -> Settings:
"website-traffic-dashboard.pdf",
"website-traffic-dashboard.jpg",
"website-traffic-dashboard.tiff",
"introduction-to-nesis.mp4",
# "introduction-to-nesis.mp4",
],
)
def test_ingestion_supported(injector, file_name):
Expand Down

0 comments on commit d228276

Please sign in to comment.