6 if: "!contains(github.event.head_commit.message, 'skip ci')"
7 runs-on: ${{ matrix.os }}
13 python-version: [2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6, pypy-3.7]
14 python-impl: [cpython]
15 ytdl-test-set: [core, download]
18 # python 3.2 is only available on windows via setup-python
27 ytdl-test-set: download
36 ytdl-test-set: download
39 - uses: actions/checkout@v2
40 - name: Set up Python ${{ matrix.python-version }}
41 uses: actions/setup-python@v2
42 if: ${{ matrix.python-impl == 'cpython' }}
44 python-version: ${{ matrix.python-version }}
46 if: ${{ matrix.python-impl == 'jython' }}
47 uses: actions/setup-java@v1
50 - name: Install Jython
51 if: ${{ matrix.python-impl == 'jython' }}
53 wget http://search.maven.org/remotecontent?filepath=org/python/jython-installer/2.7.1/jython-installer-2.7.1.jar -O jython-installer.jar
54 java -jar jython-installer.jar -s -d "$HOME/jython"
55 echo "$HOME/jython/bin" >> $GITHUB_PATH
59 continue-on-error: ${{ matrix.ytdl-test-set == 'download' || matrix.python-impl == 'jython' }}
61 YTDL_TEST_SET: ${{ matrix.ytdl-test-set }}
62 run: ./devscripts/run_tests.${{ matrix.run-tests-ext }}
63 # flake8 has been moved to quick-test