]> jfr.im git - yt-dlp.git/blame - .github/workflows/core.yml
[build] Allow to release without changelog
[yt-dlp.git] / .github / workflows / core.yml
CommitLineData
3bcaa37b 1name: Core Tests
298f597b 2on: [push, pull_request]
c76eb41b 3jobs:
4 tests:
3bcaa37b 5 name: Core Tests
36382262 6 if: "!contains(github.event.head_commit.message, 'ci skip')"
c76eb41b 7 runs-on: ${{ matrix.os }}
8 strategy:
e4bdd337 9 fail-fast: false
c76eb41b 10 matrix:
65156eba 11 os: [ubuntu-18.04]
0181adef 12 # py3.9 is in quick-test
cb89cfc1 13 python-version: [3.7, 3.8, 3.10-dev, pypy-3.6, pypy-3.7]
c76eb41b 14 run-tests-ext: [sh]
15 include:
0181adef 16 # atleast one of the tests must be in windows
c76eb41b 17 - os: windows-latest
0181adef 18 python-version: 3.6
c76eb41b 19 run-tests-ext: bat
c76eb41b 20 steps:
21 - uses: actions/checkout@v2
22 - name: Set up Python ${{ matrix.python-version }}
23 uses: actions/setup-python@v2
c76eb41b 24 with:
25 python-version: ${{ matrix.python-version }}
060ac762 26 - name: Install pytest
27 run: pip install pytest
c76eb41b 28 - name: Run tests
14b17a55 29 continue-on-error: False
060ac762 30 run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} core
3bcaa37b 31 # Linter is in quick-test