2 on: [push, pull_request]
7 group: core-${{ github.event.pull_request.number || github.ref }}
8 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
13 if: "!contains(github.event.head_commit.message, 'ci skip')"
14 runs-on: ${{ matrix.os }}
19 # CPython 3.11 is in quick-test
20 python-version: ['3.8', '3.9', '3.10', '3.12', pypy-3.8, pypy-3.10]
23 # atleast one of each CPython/PyPy tests must be in windows
28 python-version: '3.12'
31 python-version: pypy-3.9
34 - uses: actions/checkout@v4
35 - name: Set up Python ${{ matrix.python-version }}
36 uses: actions/setup-python@v4
38 python-version: ${{ matrix.python-version }}
39 - name: Install test requirements
40 run: pip install pytest -r requirements.txt
42 continue-on-error: False
44 python3 -m yt_dlp -v || true # Print debug head
45 ./devscripts/run_tests.${{ matrix.run-tests-ext }} core