Skip to content

Commit 0551b4b

Browse files
committed
fix: poetry install order
1 parent 9b2c382 commit 0551b4b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
path: .venv
5353
key: venv-py${{ steps.setup-python.outputs.python-version }}-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
5454

55+
- name: Install project
56+
run: poetry install --no-interaction
57+
5558
- name: Install dependencies
5659
if: steps.cache-dependencies.outputs.cache-hit != 'true'
5760
run: poetry install --no-interaction --no-root --all-extras
5861

59-
- name: Install project
60-
run: poetry install --no-interaction
61-
6262
- name: Run tests
6363
run: |
6464
poetry run pytest --cov=lf_toolkit --cov-report=xml --cov-report=term tests/
@@ -105,13 +105,13 @@ jobs:
105105
path: .venv
106106
key: venv-py${{ steps.setup-python.outputs.python-version }}-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
107107

108-
- name: Install dependencies
109-
if: steps.cache-dependencies.outputs.cache-hit != 'true'
110-
run: poetry install --no-interaction --no-root
111-
112108
- name: Install project
113109
run: poetry install --no-interaction
114110

111+
- name: Install dependencies
112+
if: steps.cache-dependencies.outputs.cache-hit != 'true'
113+
run: poetry install --no-interaction --no-root --all-extras
114+
115115
- name: Run build
116116
run: |
117117
poetry build

0 commit comments

Comments
 (0)