From d83f1b864492279ed11ddd9715b15805fc6b39d0 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 14 Jan 2020 14:20:54 +0100 Subject: Set TOXENV to pypy3 on macOS @ GH Actions CI/CD --- .github/workflows/python-tests.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows/python-tests.yml') diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 4dc997e5..4c02a1db 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -78,12 +78,16 @@ jobs: - name: 'Initialize tox envs: ${{ matrix.env.TOXENV }}' run: | ${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version && 'py27') || ('pypy2' == matrix.python-version && 'pypy2') || '$TOXENV' }} + ${{ startsWith(matrix.os, 'macOS-') && 'pypy3' == matrix.python-version && 'export TOXENV=pypy3' || '' }} + echo TOXENV="$TOXENV" python -m tox --parallel auto --notest --skip-missing-interpreters false env: ${{ matrix.env }} - name: Test with tox run: | ${{ startsWith(matrix.os, 'windows-') && 'setx NETWORK_REQUIRED ' || 'export NETWORK_REQUIRED=' }}1 ${{ startsWith(matrix.os, 'windows-') && 'setx TOXENV ' || 'export TOXENV=' }}${{ ('2.7' == matrix.python-version && 'py27') || ('pypy2' == matrix.python-version && 'pypy2') || '$TOXENV' }} + ${{ startsWith(matrix.os, 'macOS-') && 'pypy3' == matrix.python-version && 'export TOXENV=pypy3' || '' }} + echo TOXENV="$TOXENV" python -m tox \ --parallel 0 \ -- \ -- cgit v1.2.1