Skip to content

Commit 1d50f5e

Browse files
ci: download Python coverage reports for SonarCloud analysis
The Python coverage.xml files were being generated but not downloaded in the static analysis step. This adds a step to download the python-coverage-reports artifact so SonarCloud can see the coverage for eventcatalogasyncapiimporter, asyncapigenerator, and other Python projects.
1 parent b3964e6 commit 1d50f5e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/stage-2-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ jobs:
167167
uses: actions/download-artifact@v5
168168
with:
169169
name: code-coverage-report
170+
- name: "Download Python coverage reports for SONAR"
171+
uses: actions/download-artifact@v5
172+
with:
173+
name: python-coverage-reports
174+
path: .
170175
- name: "Perform static analysis"
171176
uses: ./.github/actions/perform-static-analysis
172177
with:

0 commit comments

Comments
 (0)