Skip to content

Commit 98a49b2

Browse files
committed
Fix CI Run
1 parent bb0301f commit 98a49b2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ jobs:
150150
- name: "Install Package"
151151
run: "uv pip install --all-extras -r pyproject.toml"
152152
- name: "Mypy Tests"
153-
run: "uv venv run mypy --show-error-codes infrahub_sdk/"
153+
run: "uv run mypy --show-error-codes infrahub_sdk/"
154154
- name: "Unit Tests"
155-
run: "uv venv run pytest --cov infrahub_sdk tests/unit/"
155+
run: "uv run pytest --cov infrahub_sdk tests/unit/"
156156
- name: "Upload coverage to Codecov"
157157
run: |
158-
uv venv run codecov --flags python-${{ matrix.python-version }}
158+
uv run codecov --flags python-${{ matrix.python-version }}
159159
env:
160160
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
161161

@@ -165,10 +165,10 @@ jobs:
165165
- name: "Report coverage for pytest-plugin"
166166
if: matrix.python-version == '3.12'
167167
run: |
168-
uv venv run coverage run --source=infrahub_sdk -m pytest tests/unit/pytest_plugin
169-
uv venv run coverage report -m
170-
uv venv run coverage xml
171-
uv venv run codecov --flags python-filler-${{ matrix.python-version }}
168+
uv run coverage run --source=infrahub_sdk -m pytest tests/unit/pytest_plugin
169+
uv run coverage report -m
170+
uv run coverage xml
171+
uv run codecov --flags python-filler-${{ matrix.python-version }}
172172
env:
173173
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
174174

@@ -202,9 +202,9 @@ jobs:
202202
- name: "Install Package"
203203
run: "uv pip install --all-extras -r pyproject.toml"
204204
- name: "Integration Tests"
205-
run: "uv venv run pytest --cov infrahub_sdk tests/integration/"
205+
run: "uv run pytest --cov infrahub_sdk tests/integration/"
206206
- name: "Upload coverage to Codecov"
207207
run: |
208-
uv venv run codecov --flags integration-tests
208+
uv run codecov --flags integration-tests
209209
env:
210210
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)