]> jfr.im git - yt-dlp.git/blame - .github/workflows/quick-test.yml
[cleanup] misc
[yt-dlp.git] / .github / workflows / quick-test.yml
CommitLineData
3bcaa37b 1name: Quick Test
298f597b 2on: [push, pull_request]
0c0ff18f 3jobs:
4 tests:
c25228e5 5 name: Core Test
3bcaa37b 6 if: "!contains(github.event.head_commit.message, 'ci skip all')"
0c0ff18f 7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v2
3bcaa37b 10 - name: Set up Python
0c0ff18f 11 uses: actions/setup-python@v2
12 with:
13 python-version: 3.9
982ee69a 14 - name: Install test requirements
f85e6be4 15 run: pip install pytest pycryptodomex
0c0ff18f 16 - name: Run tests
060ac762 17 run: ./devscripts/run_tests.sh core
0c0ff18f 18 flake8:
19 name: Linter
3bcaa37b 20 if: "!contains(github.event.head_commit.message, 'ci skip all')"
0c0ff18f 21 runs-on: ubuntu-latest
22 steps:
23 - uses: actions/checkout@v2
24 - name: Set up Python
25 uses: actions/setup-python@v2
26 with:
27 python-version: 3.9
28 - name: Install flake8
29 run: pip install flake8
3fb4e21b 30 - name: Make lazy extractors
49a57e70 31 run: python devscripts/make_lazy_extractors.py
0c0ff18f 32 - name: Run flake8
060ac762 33 run: flake8 .