fix(pipenv)

closes #3185
This commit is contained in:
Jacob Heider 2023-09-01 19:10:30 +02:00 committed by GitHub
parent d9c7b141f4
commit 7bf7b60ac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,13 @@ runtime:
PIPENV_IGNORE_VIRTUALENVS: 1
test:
- pipenv --version | grep {{version}}
- run: |
if test {{version.major}} > 2000; then
VERSION=$(printf '%04d.%02d.%02d' {{version.major}} {{version.minor}} {{version.patch}})
else
VERSION={{version}}
fi
- pipenv --version | grep $VERSION
- run: |
pipenv --python 3.7