diff options
| author | garret1317 <garret@airmail.cc> | 2025-10-16 09:24:13 +0100 |
|---|---|---|
| committer | garret1317 <garret@airmail.cc> | 2025-10-16 09:24:13 +0100 |
| commit | 5c7029e614ae162c5080e6a9619a86f0bb273e4f (patch) | |
| tree | 679e317b0c4a3bddb8557f8187baed74a3124174 /.github | |
| parent | 8e0bcc6875922667b04c26129d7f2eb4aa36bd0b (diff) | |
| parent | bd3436ba0b71b2f87f83afd329a4ad202a59cedb (diff) | |
| download | yt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.tar.gz yt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.tar.bz2 yt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.zip | |
Merge branch 'master' into aSmartPhone8
KNOWN ISSUE: TF30 doesn't work - account doesn't get passed to new auth API
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/download.yml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml new file mode 100644 index 0000000..115ae4e --- /dev/null +++ b/.github/workflows/download.yml @@ -0,0 +1,48 @@ +name: Tests +on: [push, pull_request] +permissions: + contents: read + +jobs: + full: + name: Tests + runs-on: ${{ matrix.os }} + strategy: + fail-fast: true + matrix: + os: [ubuntu-latest] + python-version: ['3.10', '3.11', '3.12', '3.13', pypy-3.10] + include: + # atleast one of each CPython/PyPy tests must be in windows + - os: windows-latest + python-version: '3.9' + - os: windows-latest + python-version: pypy-3.10 + steps: + - uses: actions/checkout@v4 + with: + path: './yt-dlp-plugins/yt-dlp-rajiko/' + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + + - name: install ffmpeg + uses: AnimMouse/setup-ffmpeg@v1 + with: + version: master + + - name: get yt-dlp source (for the test_download script we override) + uses: actions/checkout@v4 + with: + path: './yt-dlp/' + repository: yt-dlp/yt-dlp + + - name: Install yt-dlp from source (editable mode) + run: pip install -e ./yt-dlp/ + + - name: Run tests + env: + PYTHONPATH: ${{ github.workspace }}/yt-dlp${{ runner.os == 'Windows' && ';' || ':' }}${{ env.PYTHONPATH }} + run: python ./yt-dlp-plugins/yt-dlp-rajiko/contrib/test_extractors.py |