From 961e43c43ba9c32c33131734387503f552af56a8 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Sat, 25 Oct 2025 20:39:06 +0300 Subject: [PATCH] Update integration workflow to ensure yt-dlp is installed/upgraded in the virtual environment before running tests --- .gitea/workflows/integration.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/integration.yml b/.gitea/workflows/integration.yml index daa464b..c28d612 100644 --- a/.gitea/workflows/integration.yml +++ b/.gitea/workflows/integration.yml @@ -33,7 +33,12 @@ jobs: # activate the venv for this step . .venv/bin/activate python -m pip install --upgrade pip + # install/upgrade yt-dlp inside the venv to ensure it's up-to-date (fixes nsig/format issues) + python -m pip install --upgrade yt-dlp python -m pip install -e . - name: Run integration test - run: python3 tests/integration_full_workflow_test.py \ No newline at end of file + run: | + # activate the venv created earlier so tests use the upgraded yt-dlp and installed project + . .venv/bin/activate + python3 tests/integration_full_workflow_test.py \ No newline at end of file