mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	
							
								
								
									
										15
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@@ -377,8 +377,8 @@ jobs:
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - uses: actions/setup-python@v4
 | 
			
		||||
        with: # 3.7 is used for Vista support. See https://github.com/yt-dlp/yt-dlp/issues/390
 | 
			
		||||
          python-version: "3.7"
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: "3.8"
 | 
			
		||||
          architecture: "x86"
 | 
			
		||||
      - name: Install Requirements
 | 
			
		||||
        run: |
 | 
			
		||||
@@ -436,7 +436,16 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          cat >> _update_spec << EOF
 | 
			
		||||
          # This file is used for regulating self-update
 | 
			
		||||
          lock 2022.08.18.36 .+ Python 3.6
 | 
			
		||||
          lock 2022.08.18.36 .+ Python 3\.6
 | 
			
		||||
          lock 2023.11.16 (?!win_x86_exe).+ Python 3\.7
 | 
			
		||||
          lock 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server)
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp 2022.08.18.36 .+ Python 3\.6
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp 2023.11.16 (?!win_x86_exe).+ Python 3\.7
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp 2023.11.16 win_x86_exe .+ Windows-(?:Vista|2008Server)
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp-nightly-builds 2023.11.15.232826 (?!win_x86_exe).+ Python 3\.7
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp-nightly-builds 2023.11.15.232826 win_x86_exe .+ Windows-(?:Vista|2008Server)
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp-master-builds 2023.11.15.232812 (?!win_x86_exe).+ Python 3\.7
 | 
			
		||||
          lockV2 yt-dlp/yt-dlp-master-builds 2023.11.15.232812 win_x86_exe .+ Windows-(?:Vista|2008Server)
 | 
			
		||||
          EOF
 | 
			
		||||
 | 
			
		||||
      - name: Sign checksum files
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								.github/workflows/core.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/core.yml
									
									
									
									
										vendored
									
									
								
							@@ -13,12 +13,12 @@ jobs:
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [ubuntu-latest]
 | 
			
		||||
        # CPython 3.11 is in quick-test
 | 
			
		||||
        python-version: ['3.8', '3.9', '3.10', '3.12', pypy-3.7, pypy-3.8, pypy-3.10]
 | 
			
		||||
        python-version: ['3.8', '3.9', '3.10', '3.12', pypy-3.8, pypy-3.10]
 | 
			
		||||
        run-tests-ext: [sh]
 | 
			
		||||
        include:
 | 
			
		||||
        # atleast one of each CPython/PyPy tests must be in windows
 | 
			
		||||
        - os: windows-latest
 | 
			
		||||
          python-version: '3.7'
 | 
			
		||||
          python-version: '3.8'
 | 
			
		||||
          run-tests-ext: bat
 | 
			
		||||
        - os: windows-latest
 | 
			
		||||
          python-version: '3.12'
 | 
			
		||||
@@ -32,7 +32,7 @@ jobs:
 | 
			
		||||
      uses: actions/setup-python@v4
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: ${{ matrix.python-version }}
 | 
			
		||||
    - name: Install dependencies
 | 
			
		||||
    - name: Install test requirements
 | 
			
		||||
      run: pip install pytest -r requirements.txt
 | 
			
		||||
    - name: Run tests
 | 
			
		||||
      continue-on-error: False
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										8
									
								
								.github/workflows/download.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/download.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ jobs:
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: 3.9
 | 
			
		||||
    - name: Install test requirements
 | 
			
		||||
      run: pip install pytest
 | 
			
		||||
      run: pip install pytest -r requirements.txt
 | 
			
		||||
    - name: Run tests
 | 
			
		||||
      continue-on-error: true
 | 
			
		||||
      run: ./devscripts/run_tests.sh download
 | 
			
		||||
@@ -28,7 +28,7 @@ jobs:
 | 
			
		||||
      fail-fast: true
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [ubuntu-latest]
 | 
			
		||||
        python-version: ['3.7', '3.10', '3.12', pypy-3.7, pypy-3.8, pypy-3.10]
 | 
			
		||||
        python-version: ['3.10', '3.11', '3.12', pypy-3.8, pypy-3.10]
 | 
			
		||||
        run-tests-ext: [sh]
 | 
			
		||||
        include:
 | 
			
		||||
        # atleast one of each CPython/PyPy tests must be in windows
 | 
			
		||||
@@ -44,8 +44,8 @@ jobs:
 | 
			
		||||
      uses: actions/setup-python@v4
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: ${{ matrix.python-version }}
 | 
			
		||||
    - name: Install pytest
 | 
			
		||||
      run: pip install pytest
 | 
			
		||||
    - name: Install test requirements
 | 
			
		||||
      run: pip install pytest -r requirements.txt
 | 
			
		||||
    - name: Run tests
 | 
			
		||||
      continue-on-error: true
 | 
			
		||||
      run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} download
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/workflows/quick-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/quick-test.yml
									
									
									
									
										vendored
									
									
								
							@@ -15,7 +15,7 @@ jobs:
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: '3.11'
 | 
			
		||||
    - name: Install test requirements
 | 
			
		||||
      run: pip install pytest pycryptodomex
 | 
			
		||||
      run: pip install pytest -r requirements.txt
 | 
			
		||||
    - name: Run tests
 | 
			
		||||
      run: |
 | 
			
		||||
        python3 -m yt_dlp -v || true
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user