]> jfr.im git - yt-dlp.git/blob - .github/workflows/download.yml
[test] Use `pytest` instead of `nosetests` (#482)
[yt-dlp.git] / .github / workflows / download.yml
1 name: Download Tests
2 on: [push, pull_request]
3 jobs:
4 tests:
5 name: Download Tests
6 if: "contains(github.event.head_commit.message, 'ci run dl')"
7 runs-on: ${{ matrix.os }}
8 strategy:
9 fail-fast: true
10 matrix:
11 os: [ubuntu-18.04]
12 python-version: [3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
13 run-tests-ext: [sh]
14 include:
15 - os: windows-latest
16 python-version: 3.6
17 run-tests-ext: bat
18 steps:
19 - uses: actions/checkout@v2
20 - name: Set up Python ${{ matrix.python-version }}
21 uses: actions/setup-python@v2
22 with:
23 python-version: ${{ matrix.python-version }}
24 - name: Install pytest
25 run: pip install pytest
26 - name: Run tests
27 continue-on-error: true
28 run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} download