force usage of poetry>1.3.0 in CI

This commit is contained in:
Éloi Rivard 2023-01-21 12:30:24 +01:00
parent 952ff3f1e9
commit 70ac32a692
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ jobs:
with:
path: ~/.cache/pip
key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
- run: pip install tox poetry coveralls pyyaml tomli
- run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli
- run: tox -e py
style:
runs-on: ubuntu-latest
@ -56,7 +56,7 @@ jobs:
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pip install tox poetry coveralls pyyaml tomli
- run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli
- run: tox -e style
doc:
runs-on: ubuntu-latest
@ -73,5 +73,5 @@ jobs:
with:
path: ~/.cache/pip
key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
- run: pip install tox poetry coveralls pyyaml tomli
- run: pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli
- run: tox -e doc

View file

@ -11,7 +11,7 @@ before_script:
- env DEBIAN_FRONTEND=noninteractive apt install --yes slapd python3-dev libldap2-dev libsasl2-dev libssl-dev ldap-utils
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install tox poetry coveralls pyyaml tomli
- pip install --upgrade tox "poetry>1.3.0" coveralls pyyaml tomli
style:
image: python:3.11