[ie/NowCanal] Add extractor #24969
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Quick Test | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| name: Core Test | |
| if: "!contains(github.event.head_commit.message, 'ci skip all')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install test requirements | |
| run: python ./devscripts/install_deps.py --only-optional-groups --include-group test | |
| - name: Run tests | |
| timeout-minutes: 15 | |
| run: | | |
| python3 -m yt_dlp -v || true | |
| python3 ./devscripts/run_tests.py --pytest-args '--reruns 2 --reruns-delay 3.0' core | |
| check: | |
| name: Code check | |
| if: "!contains(github.event.head_commit.message, 'ci skip all')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dev dependencies | |
| run: python ./devscripts/install_deps.py --only-optional-groups --include-group static-analysis | |
| - name: Make lazy extractors | |
| run: python ./devscripts/make_lazy_extractors.py | |
| - name: Run ruff | |
| run: ruff check --output-format github . | |
| - name: Run autopep8 | |
| run: autopep8 --diff . | |
| - name: Check file mode | |
| run: git ls-files --format="%(objectmode) %(path)" yt_dlp/ | ( ! grep -v "^100644" ) |