mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-15 16:10:39 +03:00
install ffmpeg for tests (#8)
This commit is contained in:
2
.github/workflows/poetry-test.yml
vendored
2
.github/workflows/poetry-test.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry config virtualenvs.in-project true
|
poetry config virtualenvs.in-project true
|
||||||
poetry install
|
poetry install
|
||||||
poetry run pip install -U pip
|
poetry run pip install -U pip, ffmpeg
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# run test suite
|
# run test suite
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ RUN if [ "$USER" != "root" ]; then \
|
|||||||
|
|
||||||
COPY --chown=${USER}:${USER} ../poetry.lock ../pyproject.toml /app/
|
COPY --chown=${USER}:${USER} ../poetry.lock ../pyproject.toml /app/
|
||||||
|
|
||||||
RUN pip install --upgrade pip && pip install poetry==$POETRY_VERSION
|
RUN pip install --upgrade pip && pip install poetry==$POETRY_VERSION && pip install ffmpeg
|
||||||
RUN poetry config virtualenvs.in-project true && \
|
RUN poetry config virtualenvs.in-project true && \
|
||||||
poetry config virtualenvs.create true && \
|
poetry config virtualenvs.create true && \
|
||||||
poetry install --only main --no-interaction --no-ansi && \
|
poetry install --only main --no-interaction --no-ansi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user