Update integration workflow to include yt-dlp installation and simplify test execution

This commit is contained in:
dark_zoul committed 2025-10-25 20:02:08 +03:00
1 parent 7b704a1e21
commit 07c4533cba
2 files changed
+4 -17

No files matched your search

+4 -15
View File
@@ -20,24 +20,13 @@ jobs:
- name: Checkout repository
uses: https://gitea.com/actions/checkout@v5
- name: Install system packages (Python, ffmpeg, aria2)
- name: Install system packages (Python, ffmpeg, aria2, yt-dlp)
run: |
sudo apt-get update -y
sudo apt-get install -y python3 python3-pip ffmpeg aria2
- name: Install yt-dlp
run: |
python3 -m pip install --upgrade pip
python3 -m pip install yt-dlp
sudo apt-get install -y python3 python3-pip ffmpeg aria2 yt-dlp
- name: Install project
run: python3 -m pip install -e .
- name: Run integration test (gated)
# The integration test performs real downloads; gate it behind a repository secret.
if: ${{ secrets.RUN_INTEGRATION_TESTS == 'true' }}
run: python3 tests/integration_full_workflow_test.py
- name: Skip integration test (not enabled)
if: ${{ secrets.RUN_INTEGRATION_TESTS != 'true' }}
run: echo "Integration tests are skipped. To enable set the repository secret RUN_INTEGRATION_TESTS = 'true'."
- name: Run integration test
run: python3 tests/integration_full_workflow_test.py
-2
View File
@@ -2,8 +2,6 @@ name: Build Release Packages
on:
push:
#branches:
#- test
tags:
- "v*.*.*"