Skip to content

Commit 1187314

Browse files
committed
sonarcloud.yml fix 3
1 parent 00ddc1f commit 1187314

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ jobs:
4242
mkdir -p reports
4343
uv run pytest --ds=task_manager.settings \
4444
--cov=task_manager \
45-
--cov-report=xml:coverage.xml \
45+
--cov-report=xml \
4646
--junitxml=reports/junit.xml
4747
48+
- name: Fix coverage paths
49+
run: |
50+
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace@g' coverage.xml
51+
4852
- name: SonarCloud Scan
4953
uses: SonarSource/sonarcloud-github-action@v2
5054
env:

0 commit comments

Comments
 (0)