Skip to content

Commit 7da6452

Browse files
committed
WIP
1 parent 30dd0a4 commit 7da6452

5 files changed

Lines changed: 42 additions & 69 deletions

File tree

.github/workflows/itk.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ name: ITK
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77
paths:
8-
- "src/**"
9-
- "itk/**"
10-
- "pyproject.toml"
8+
- 'src/**'
9+
- 'itk/**'
10+
- 'pyproject.toml'
11+
- 'uv.lock'
12+
- '.github/workflows/itk.yaml'
1113

1214
permissions:
1315
contents: read

.github/workflows/linter.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
name: Lint Code Base
33
on:
44
pull_request:
5-
branches: [ main ]
6-
paths-ignore:
7-
- "**.md"
8-
- "LICENSE"
9-
- "docs/**"
10-
- ".github/CODEOWNERS"
11-
- ".github/ISSUE_TEMPLATE/**"
12-
- ".github/PULL_REQUEST_TEMPLATE.md"
13-
- ".github/dependabot.yml"
14-
- ".gitignore"
15-
- ".git-blame-ignore-revs"
16-
- ".gemini/**"
5+
branches: [main]
6+
paths:
7+
- '**.py'
8+
- '**.pyi'
9+
- 'pyproject.toml'
10+
- 'uv.lock'
11+
- '.jscpd.json'
12+
- '.github/workflows/linter.yaml'
1713
permissions:
1814
contents: read
1915
jobs:

.github/workflows/minimal-install.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22
name: Minimal Install Smoke Test
33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
paths-ignore:
8-
- "**.md"
9-
- "LICENSE"
10-
- "docs/**"
11-
- ".github/CODEOWNERS"
12-
- ".github/ISSUE_TEMPLATE/**"
13-
- ".github/PULL_REQUEST_TEMPLATE.md"
14-
- ".github/dependabot.yml"
15-
- ".gitignore"
16-
- ".git-blame-ignore-revs"
17-
- ".gemini/**"
7+
paths:
8+
- 'src/**'
9+
- 'pyproject.toml'
10+
- 'uv.lock'
11+
- 'scripts/test_minimal_install.py'
12+
- '.github/workflows/minimal-install.yml'
1813
permissions:
1914
contents: read
2015

@@ -25,7 +20,7 @@ jobs:
2520
if: github.repository == 'a2aproject/a2a-python'
2621
strategy:
2722
matrix:
28-
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
23+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
2924
steps:
3025
- name: Checkout code
3126
uses: actions/checkout@v6

.github/workflows/run-tck.yaml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,14 @@ name: Run TCK
33
on:
44
push:
55
branches: [ "main" ]
6-
paths-ignore:
7-
- '**.md'
8-
- 'LICENSE'
9-
- 'docs/**'
10-
- '.github/CODEOWNERS'
11-
- '.github/ISSUE_TEMPLATE/**'
12-
- '.github/PULL_REQUEST_TEMPLATE.md'
13-
- '.github/dependabot.yml'
14-
- '.gitignore'
15-
- '.git-blame-ignore-revs'
16-
- '.gemini/**'
176
pull_request:
187
branches: [ "main" ]
19-
paths-ignore:
20-
- '**.md'
21-
- 'LICENSE'
22-
- 'docs/**'
23-
- '.github/CODEOWNERS'
24-
- '.github/ISSUE_TEMPLATE/**'
25-
- '.github/PULL_REQUEST_TEMPLATE.md'
26-
- '.github/dependabot.yml'
27-
- '.gitignore'
28-
- '.git-blame-ignore-revs'
29-
- '.gemini/**'
8+
paths:
9+
- 'src/**'
10+
- 'tck/**'
11+
- 'pyproject.toml'
12+
- 'uv.lock'
13+
- '.github/workflows/run-tck.yaml'
3014

3115
permissions:
3216
contents: read

.github/workflows/unit-tests.yml

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22
name: Run Unit Tests
33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
paths-ignore:
8-
- "**.md"
9-
- "LICENSE"
10-
- "docs/**"
11-
- ".github/CODEOWNERS"
12-
- ".github/ISSUE_TEMPLATE/**"
13-
- ".github/PULL_REQUEST_TEMPLATE.md"
14-
- ".github/dependabot.yml"
15-
- ".gitignore"
16-
- ".git-blame-ignore-revs"
17-
- ".gemini/**"
7+
paths:
8+
- 'src/**'
9+
- 'tests/**'
10+
- 'pyproject.toml'
11+
- 'uv.lock'
12+
- 'scripts/run_db_tests.sh'
13+
- 'scripts/docker-compose.test.yml'
14+
- '.github/workflows/unit-tests.yml'
1815
permissions:
1916
contents: read
2017

@@ -34,8 +31,7 @@ jobs:
3431
ports:
3532
- 5432:5432
3633
options: >-
37-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s
38-
--health-retries 5
34+
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
3935
mysql:
4036
image: mysql:8.0
4137
env:
@@ -46,12 +42,11 @@ jobs:
4642
ports:
4743
- 3306:3306
4844
options: >-
49-
--health-cmd="mysqladmin ping -h localhost -u root -proot"
50-
--health-interval=10s --health-timeout=5s --health-retries=5
45+
--health-cmd="mysqladmin ping -h localhost -u root -proot" --health-interval=10s --health-timeout=5s --health-retries=5
5146
5247
strategy:
5348
matrix:
54-
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
49+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
5550
steps:
5651
- name: Checkout code
5752
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -68,14 +63,15 @@ jobs:
6863
run: |
6964
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
7065
66+
7167
# Coverage comparison for PRs (only on Python 3.14 to avoid duplicate work)
7268
- name: Checkout Base Branch
7369
if: github.event_name == 'pull_request' && matrix.python-version == '3.14'
7470
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7571
with:
7672
ref: ${{ github.event.pull_request.base.ref || 'main' }}
7773
clean: true
78-
74+
7975
- name: Install dependencies
8076
run: uv sync --locked
8177

0 commit comments

Comments
 (0)