Skip to content

Commit

Permalink
Fix installing dependencies in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
minitriga committed Feb 4, 2025
1 parent 5fd6849 commit bb0301f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
uv venv
uv pip install invoke toml codecov
- name: "Install Package"
run: "uv pip install --all-extras ."
run: "uv pip install --all-extras -r pyproject.toml"
- name: "Mypy Tests"
run: "uv venv run mypy --show-error-codes infrahub_sdk/"
- name: "Unit Tests"
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
uv venv
uv pip install invoke toml codecov
- name: "Install Package"
run: "uv pip install --all-extras ."
run: "uv pip install --all-extras -r pyproject.toml"
- name: "Integration Tests"
run: "uv venv run pytest --cov infrahub_sdk tests/integration/"
- name: "Upload coverage to Codecov"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
key: "venv-${{ runner.os }}-${{ hashFiles('**/pyproject.toml') }}"

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

- name: "Add PyPI secret"
Expand Down

0 comments on commit bb0301f

Please sign in to comment.