logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 7d58f0769a8f08e46ea77432041577cef94c07e2
parent 86e3cf5e5849aefcc540c19bb5fa5ab7f470d1c1
Author: dirkf <fieldhouse@gmx.net>
Date:   Thu, 31 Aug 2023 17:16:47 +0100

[ci.yml] Improve conditions for nosetest installations

Diffstat:

M.github/workflows/ci.yml4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -368,7 +368,7 @@ jobs: done #-------- nose -------- - name: Install nose for Python ${{ matrix.python-version }} - if: ${{ (matrix.python-version != '3.2' && steps.setup-python.outputs.python-path) || matrix.python-version == '2.7' || matrix.python-version == '3.12' }} + if: ${{ (matrix.python-version != '3.2' && steps.setup-python.outputs.python-path) || (matrix.python-impl == 'cpython' && (matrix.python-version == '2.7' || matrix.python-version == '3.12')) }} shell: bash run: | echo "$PATH" @@ -380,7 +380,7 @@ jobs: [ "$py3ver" -ge 9 ] && nose=pynose || nose=nose $PIP -qq show $nose || $PIP install $nose - name: Install nose for other Python 2 - if: ${{ matrix.python-impl == 'jython' || matrix.python-version == '2.6' }} + if: ${{ matrix.python-impl == 'jython' || (matrix.python-impl == 'cpython' && matrix.python-version == '2.6') }} shell: bash run: | # Work around deprecation of support for non-SNI clients at PyPI CDN (see https://status.python.org/incidents/hzmjhqsdjqgb)