mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Workaround symlink() is not implemented for PyPy on Windows
This commit is contained in:
parent
d061538471
commit
50aade8293
1 changed files with 12 additions and 0 deletions
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue