Workaround symlink() is not implemented for PyPy on Windows

This commit is contained in:
evgfilim1 2022-08-19 12:11:47 +05:00
parent d061538471
commit 50aade8293
No known key found for this signature in database
GPG key ID: D9F91B9DC64683A2

View file

@ -61,12 +61,24 @@ jobs:
- name: Install and configure Poetry
uses: snok/install-poetry@v1
if: !startswith(matrix.python-version, 'pypy') || matrix.os != 'windows-latest'
with:
version: 1.1.11
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Install and configure Poetry (PyPy on Windows)
if: startswith(matrix.python-version, 'pypy') && matrix.os == 'windows-latest'
env:
POETRY_VERSION: 1.1.11
run: |
set -eu
pip install 'poetry==$POETRY_VERSION'
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
poetry config installer.parallel true
- name: Setup redis
if: ${{ matrix.os != 'windows-latest' }}
uses: shogo82148/actions-setup-redis@v1