]> jfr.im git - yt-dlp.git/blame - .github/workflows/quick-test.yml
[tests] Split core and download tests
[yt-dlp.git] / .github / workflows / quick-test.yml
CommitLineData
3bcaa37b 1name: Quick Test
298f597b 2on: [push, pull_request]
0c0ff18f 3jobs:
4 tests:
5 name: Core Tests
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
14 - name: Install nose
15 run: pip install nose
16 - name: Run tests
17 env:
18 YTDL_TEST_SET: core
19 run: ./devscripts/run_tests.sh
20 flake8:
21 name: Linter
3bcaa37b 22 if: "!contains(github.event.head_commit.message, 'ci skip all')"
0c0ff18f 23 runs-on: ubuntu-latest
24 steps:
25 - uses: actions/checkout@v2
26 - name: Set up Python
27 uses: actions/setup-python@v2
28 with:
29 python-version: 3.9
30 - name: Install flake8
31 run: pip install flake8
32 - name: Run flake8
33 run: flake8 .