]> jfr.im git - yt-dlp.git/blob - .github/workflows/core.yml
[build] Build Windows x86 version with py3.8
[yt-dlp.git] / .github / workflows / core.yml
1 name: Core Tests
2 on: [push, pull_request]
3 jobs:
4 tests:
5 name: Core Tests
6 if: "!contains(github.event.head_commit.message, 'ci skip')"
7 runs-on: ${{ matrix.os }}
8 strategy:
9 fail-fast: false
10 matrix:
11 os: [ubuntu-18.04]
12 # py3.9 is in quick-test
13 python-version: [3.7, 3.8, pypy-3.6, pypy-3.7]
14 run-tests-ext: [sh]
15 include:
16 # atleast one of the tests must be in windows
17 - os: windows-latest
18 python-version: 3.6
19 run-tests-ext: bat
20 steps:
21 - uses: actions/checkout@v2
22 - name: Set up Python ${{ matrix.python-version }}
23 uses: actions/setup-python@v2
24 with:
25 python-version: ${{ matrix.python-version }}
26 - name: Install nose
27 run: pip install nose
28 - name: Run tests
29 continue-on-error: False
30 env:
31 YTDL_TEST_SET: core
32 run: ./devscripts/run_tests.${{ matrix.run-tests-ext }}
33 # Linter is in quick-test