name: Integration tests (minimal) on: workflow_dispatch: #push: #branches: [ main, Next ] #pull_request: #branches: [ main, Next ] jobs: integration: name: Run integration tests runs-on: ubuntu-latest env: INTEGRATION_TEST: '1' TEST_PLAYLIST_URL: 'https://www.youtube.com/playlist?list=PLUmRr21IDW9WCW87FnbWAbIwwZHbf-lAz' steps: - name: Checkout repository uses: actions/checkout@v5 - name: Make bundled linux binaries executable (if present) run: | set -euo pipefail if [ -d ./bin/linux ]; then chmod +x ./bin/linux/* || true ls -l ./bin/linux || true fi - name: Create venv and install project run: | set -euo pipefail python3 -m venv .venv . .venv/bin/activate python -m pip install --upgrade pip # Install project in editable mode. If the 'test' extra exists, prefer it. python -m pip install -e .[test] || python -m pip install -e . python -m pip install pytest - name: Run integration script directly env: YTPL_DEBUG: '1' run: | set -euo pipefail . .venv/bin/activate python tests/integration_full_workflow_test.py