]> jfr.im git - yt-dlp.git/blame - .github/workflows/download.yml
Fix bug in 56ba69e4c991e81a449882258be08d0b6b98c648
[yt-dlp.git] / .github / workflows / download.yml
CommitLineData
3bcaa37b 1name: Download Tests
298f597b 2on: [push, pull_request]
c76eb41b 3jobs:
4 tests:
3bcaa37b 5 name: Download Tests
36382262 6 if: "contains(github.event.head_commit.message, 'ci run dl')"
c76eb41b 7 runs-on: ${{ matrix.os }}
8 strategy:
9 fail-fast: true
10 matrix:
7a96d0b3 11 os: [ubuntu-latest]
12 python-version: ['3.6', '3.7', '3.9', '3.10', 3.11-dev, pypy-3.6, pypy-3.7, pypy-3.8, pypy-3.9]
c76eb41b 13 run-tests-ext: [sh]
14 include:
c76eb41b 15 - os: windows-latest
7a96d0b3 16 python-version: 3.8
c76eb41b 17 run-tests-ext: bat
c76eb41b 18 steps:
19 - uses: actions/checkout@v2
20 - name: Set up Python ${{ matrix.python-version }}
21 uses: actions/setup-python@v2
c76eb41b 22 with:
23 python-version: ${{ matrix.python-version }}
060ac762 24 - name: Install pytest
25 run: pip install pytest
c76eb41b 26 - name: Run tests
14b17a55 27 continue-on-error: true
060ac762 28 run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} download