name: Integration tests (minimal) on: 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: https://gitea.com/actions/checkout@v5 - 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 test run: | set -euo pipefail . .venv/bin/activate python -m pytest -q tests/integration_full_workflow_test.py