Skip to content

Commit 9c58353

Browse files
committed
SonarCloud coverage 4
1 parent bda6876 commit 9c58353

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
- uses: actions/setup-python@v5
2020
with:
2121
python-version: '3.11'
22-
- name: Install uv and dependencies
22+
- name: Install uv and sync
2323
run: |
2424
pip install uv
2525
uv sync --frozen
26-
uv pip install --system pytest pytest-cov pytest-django
26+
uv run python -m pip install pytest pytest-cov pytest-django
2727
- name: Run tests with coverage
2828
env:
2929
DJANGO_SETTINGS_MODULE: task_manager.settings
3030
run: |
3131
mkdir -p reports
32-
pytest --ds=task_manager.settings --cov=task_manager --cov-report=xml:coverage.xml --junitxml=reports/junit.xml
32+
uv run pytest --ds=task_manager.settings --cov=task_manager --cov-report=xml:coverage.xml --junitxml=reports/junit.xml
3333
- name: SonarCloud Scan
3434
uses: SonarSource/sonarcloud-github-action@v2
3535
env:

0 commit comments

Comments
 (0)