зеркало из
https://github.com/VIGINUM-FR/D3lta.git
synced 2025-10-29 05:04:20 +02:00
feat(ci): install poetry via pipx
Fixes the warning related to using the root environment's pip when install poetry via `pip install poetry`.
Этот коммит содержится в:
родитель
991ed8141b
Коммит
a92770562b
7
.github/workflows/test.yml
поставляемый
7
.github/workflows/test.yml
поставляемый
@ -12,15 +12,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Install poetry
|
||||||
|
run: pipx install poetry
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.11"
|
python-version: "3.11"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: poetry install --with dev
|
||||||
pip install poetry
|
|
||||||
poetry install --with dev
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: poetry run pytest
|
run: poetry run pytest
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user