diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f03d3ea65b..cdb45e09e3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -40,8 +40,7 @@ jobs: coverage_tests = [ ('test/test_utils.py', 'yt_dlp.utils'), - ('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL'), - ('test/devscripts', 'devscripts') + ('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL') ] with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor: diff --git a/devscripts/run_coverage.py b/devscripts/run_coverage.py index 272c34d928..86abd59eb9 100755 --- a/devscripts/run_coverage.py +++ b/devscripts/run_coverage.py @@ -36,16 +36,14 @@ def main(): if not args: # Default to running all tests test_path = 'test' - module_path = 'yt_dlp,devscripts' + module_path = 'yt_dlp' elif len(args) == 1: test_path = args[0] # Try to guess the module path from the test path - if test_path.startswith('test/devscripts'): - module_path = 'devscripts' - elif test_path.startswith('test/'): + if test_path.startswith('test/'): module_path = 'yt_dlp' else: - module_path = 'yt_dlp,devscripts' + module_path = 'yt_dlp' else: test_path = args[0] module_path = args[1]