Skip to content

Commit c353ebf

Browse files
add exclusions to sonarcloud
1 parent 9fba4b7 commit c353ebf

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/shared.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
enable-cache: true
2121
version: 0.9.5
2222
- name: Install dependencies
23-
run: uv sync --frozen --all-extras --python 3.10
23+
run: uv sync --frozen --all-extras --python 3.12
2424

2525
- uses: pre-commit/action@v3.0.1
2626
with:
@@ -35,7 +35,7 @@ jobs:
3535
continue-on-error: true
3636
strategy:
3737
matrix:
38-
python-version: ["3.10", "3.11", "3.12", "3.13"]
38+
python-version: ["3.12", "3.13"]
3939
dep-resolution:
4040
- name: lowest-direct
4141
install-flags: "--upgrade --resolution lowest-direct"
@@ -72,7 +72,7 @@ jobs:
7272
version: 0.9.5
7373

7474
- name: Install dependencies
75-
run: uv sync --frozen --all-extras --python 3.10
75+
run: uv sync --frozen --all-extras --python 3.12
7676

7777
- name: Check README snippets are up to date
7878
run: uv run --frozen scripts/update_readme_snippets.py --check

cicd/azure-pipeline-merge.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
parameters:
3232
PackageName: 'mcp-python-sdk'
3333
SonarCloudProject: 'mcp-python-sdk'
34-
SonarCloudExclusionList: 'tests/**/*'
35-
SonarCloudCoverageExclusionList: "'tests/**/*'"
34+
SonarCloudExclusionList: "tests/**/*,examples/**/*,scripts/*"
35+
SonarCloudCoverageExclusionList: "tests/**/*,examples/**/*,scripts/*"
3636
SkipIntegrationTests: true
3737
PythonVersion: 3.12
3838
PackageManager: "uv"

cicd/azure-pipeline-pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
- template: python/packages/new-azure-pipeline-pr.yml@rd-ai-azure-pipeline-templates
3030
parameters:
3131
PackageName: 'mcp-python-sdk'
32-
SonarCloudProject: 'OutSystems_mcp-python-sdk'
33-
SonarCloudExclusionList: 'tests/**/*'
34-
SonarCloudCoverageExclusionList: "'tests/**/*'"
32+
SonarCloudProject: 'mcp-python-sdk'
33+
SonarCloudExclusionList: "tests/**/*,examples/**/*,scripts/*"
34+
SonarCloudCoverageExclusionList: "tests/**/*,examples/**/*,scripts/*"
3535
SkipIntegrationTests: true
3636
PythonVersion: 3.12
3737
PackageManager: "uv"

0 commit comments

Comments
 (0)