]>
Commit | Line | Data |
---|---|---|
3bcaa37b | 1 | name: Download Tests |
298f597b | 2 | on: [push, pull_request] |
c76eb41b | 3 | jobs: |
4 | tests: | |
3bcaa37b | 5 | name: Download Tests |
36382262 | 6 | if: "contains(github.event.head_commit.message, 'ci run dl')" |
c76eb41b | 7 | runs-on: ${{ matrix.os }} |
8 | strategy: | |
9 | fail-fast: true | |
10 | matrix: | |
65156eba | 11 | os: [ubuntu-18.04] |
14b17a55 | 12 | python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7] |
c76eb41b | 13 | run-tests-ext: [sh] |
14 | include: | |
c76eb41b | 15 | - os: windows-latest |
14b17a55 | 16 | python-version: 3.4 # Windows x86 build is still in 3.4 |
c76eb41b | 17 | run-tests-ext: bat |
c76eb41b | 18 | steps: |
19 | - uses: actions/checkout@v2 | |
20 | - name: Set up Python ${{ matrix.python-version }} | |
21 | uses: actions/setup-python@v2 | |
c76eb41b | 22 | with: |
23 | python-version: ${{ matrix.python-version }} | |
c76eb41b | 24 | - name: Install nose |
25 | run: pip install nose | |
26 | - name: Run tests | |
14b17a55 | 27 | continue-on-error: true |
c76eb41b | 28 | env: |
14b17a55 | 29 | YTDL_TEST_SET: download |
c76eb41b | 30 | run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} |