mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-27 18:36:08 +00:00
Sonar Base Path (#5189)
This commit is contained in:
parent
cf3d4314dd
commit
8fbac82196
4
.github/workflows/py-tests-3_9.yml
vendored
4
.github/workflows/py-tests-3_9.yml
vendored
@ -77,6 +77,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
|
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
|
||||||
with:
|
with:
|
||||||
|
projectBaseDir: ingestion/
|
||||||
args: >
|
args: >
|
||||||
-Dproject.settings=ingestion/sonar-project.properties
|
-Dproject.settings=ingestion/sonar-project.properties
|
||||||
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
|
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
|
||||||
@ -92,5 +93,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
|
SONAR_TOKEN: ${{ secrets.INGESTION_SONAR_SECRET }}
|
||||||
with:
|
with:
|
||||||
args: >
|
projectBaseDir: ingestion/
|
||||||
-Dproject.settings=ingestion/sonar-project.properties
|
|
||||||
|
@ -3,9 +3,9 @@ sonar.projectName=open-metadata-ingestion
|
|||||||
sonar.organization=open-metadata
|
sonar.organization=open-metadata
|
||||||
sonar.language=py
|
sonar.language=py
|
||||||
|
|
||||||
sonar.sources=ingestion/src
|
sonar.sources=src
|
||||||
sonar.tests=ingestion/tests
|
sonar.tests=tests
|
||||||
sonar.exclusions=ingestion/src/metadata_server/static/**,ingestion/src/metadata_server/templates/**
|
sonar.exclusions=src/metadata_server/static/**,ingestion/src/metadata_server/templates/**
|
||||||
sonar.python.xunit.reportPath=ingestion/junit/test-results-*.xml
|
sonar.python.xunit.reportPath=junit/test-results-*.xml
|
||||||
sonar.python.coverage.reportPaths=ingestion/ci-coverage.xml
|
sonar.python.coverage.reportPaths=coverage.xml
|
||||||
sonar.python.version=3.7,3.8,3.9
|
sonar.python.version=3.7,3.8,3.9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user