]>
Commit | Line | Data |
---|---|---|
0c0ff18f | 1 | name: Core Test |
298f597b | 2 | on: [push, pull_request] |
0c0ff18f | 3 | jobs: |
4 | tests: | |
5 | name: Core Tests | |
0ed3badd | 6 | if: "!contains(github.event.head_commit.message, 'skip ci all')" |
0c0ff18f | 7 | runs-on: ubuntu-latest |
8 | steps: | |
9 | - uses: actions/checkout@v2 | |
10 | - name: Set up Python 3.9 | |
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 | |
0ed3badd | 22 | if: "!contains(github.event.head_commit.message, 'skip ci 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 . |