Skip to content

Commit bb0301f

Browse files
committed
Fix installing dependencies in CI
1 parent 5fd6849 commit bb0301f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
uv venv
149149
uv pip install invoke toml codecov
150150
- name: "Install Package"
151-
run: "uv pip install --all-extras ."
151+
run: "uv pip install --all-extras -r pyproject.toml"
152152
- name: "Mypy Tests"
153153
run: "uv venv run mypy --show-error-codes infrahub_sdk/"
154154
- name: "Unit Tests"
@@ -200,7 +200,7 @@ jobs:
200200
uv venv
201201
uv pip install invoke toml codecov
202202
- name: "Install Package"
203-
run: "uv pip install --all-extras ."
203+
run: "uv pip install --all-extras -r pyproject.toml"
204204
- name: "Integration Tests"
205205
run: "uv venv run pytest --cov infrahub_sdk tests/integration/"
206206
- name: "Upload coverage to Codecov"

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
key: "venv-${{ runner.os }}-${{ hashFiles('**/pyproject.toml') }}"
5656

5757
- name: "Install Dependencies"
58-
run: "uv pip install --all-extras ."
58+
run: "uv pip install --all-extras -r pyproject.toml"
5959
if: steps.cached-uv-dependencies.outputs.cache-hit != 'true'
6060

6161
- name: "Add PyPI secret"

0 commit comments

Comments
 (0)