fix: avoid installing unnecessary root module by adding --no-root

This commit is contained in:
Xyphuz 2022-05-08 22:33:43 +08:00
parent c4b6408eaa
commit 6228e1062e
2 changed files with 6 additions and 4 deletions

View file

@ -91,9 +91,11 @@ jobs:
uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.1.7
- run: |
poetry install
- name: Install Dependencies
run: |
poetry install --no-root
- name: Validate Custom Input File
run: |
poetry run python -m pytest
pytest

View file

@ -27,7 +27,7 @@ jobs:
with:
poetry-version: 1.1.7
- run: |
poetry install
poetry install --no-root
poetry build
- name: "Release Tagged Version"