diff --git a/.github/workflows/itk.yaml b/.github/workflows/itk.yaml index ab272d0e..4802c618 100644 --- a/.github/workflows/itk.yaml +++ b/.github/workflows/itk.yaml @@ -2,12 +2,12 @@ name: ITK on: push: - branches: [main, 1.0-dev] + branches: [ main ] pull_request: paths: - - 'src/**' - - 'itk/**' - - 'pyproject.toml' + - "src/**" + - "itk/**" + - "pyproject.toml" permissions: contents: read diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index ec4bd16f..ebc5255d 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -2,18 +2,18 @@ name: Lint Code Base on: pull_request: - branches: [main, 1.0-dev] + branches: [ main ] paths-ignore: - - '**.md' - - 'LICENSE' - - 'docs/**' - - '.github/CODEOWNERS' - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - '.github/dependabot.yml' - - '.gitignore' - - '.git-blame-ignore-revs' - - '.gemini/**' + - "**.md" + - "LICENSE" + - "docs/**" + - ".github/CODEOWNERS" + - ".github/ISSUE_TEMPLATE/**" + - ".github/PULL_REQUEST_TEMPLATE.md" + - ".github/dependabot.yml" + - ".gitignore" + - ".git-blame-ignore-revs" + - ".gemini/**" permissions: contents: read jobs: diff --git a/.github/workflows/minimal-install.yml b/.github/workflows/minimal-install.yml index 27afebe7..91987873 100644 --- a/.github/workflows/minimal-install.yml +++ b/.github/workflows/minimal-install.yml @@ -2,30 +2,19 @@ name: Minimal Install Smoke Test on: push: - branches: [main, 1.0-dev] - paths-ignore: - - '**.md' - - 'LICENSE' - - 'docs/**' - - '.github/CODEOWNERS' - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - '.github/dependabot.yml' - - '.gitignore' - - '.git-blame-ignore-revs' - - '.gemini/**' + branches: [ main ] pull_request: paths-ignore: - - '**.md' - - 'LICENSE' - - 'docs/**' - - '.github/CODEOWNERS' - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - '.github/dependabot.yml' - - '.gitignore' - - '.git-blame-ignore-revs' - - '.gemini/**' + - "**.md" + - "LICENSE" + - "docs/**" + - ".github/CODEOWNERS" + - ".github/ISSUE_TEMPLATE/**" + - ".github/PULL_REQUEST_TEMPLATE.md" + - ".github/dependabot.yml" + - ".gitignore" + - ".git-blame-ignore-revs" + - ".gemini/**" permissions: contents: read @@ -36,7 +25,7 @@ jobs: if: github.repository == 'a2aproject/a2a-python' strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] steps: - name: Checkout code uses: actions/checkout@v6 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 098a14ec..90d6f010 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -2,30 +2,19 @@ name: Run Unit Tests on: push: - branches: [main, 1.0-dev] - paths-ignore: - - '**.md' - - 'LICENSE' - - 'docs/**' - - '.github/CODEOWNERS' - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - '.github/dependabot.yml' - - '.gitignore' - - '.git-blame-ignore-revs' - - '.gemini/**' + branches: [ main ] pull_request: paths-ignore: - - '**.md' - - 'LICENSE' - - 'docs/**' - - '.github/CODEOWNERS' - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - '.github/dependabot.yml' - - '.gitignore' - - '.git-blame-ignore-revs' - - '.gemini/**' + - "**.md" + - "LICENSE" + - "docs/**" + - ".github/CODEOWNERS" + - ".github/ISSUE_TEMPLATE/**" + - ".github/PULL_REQUEST_TEMPLATE.md" + - ".github/dependabot.yml" + - ".gitignore" + - ".git-blame-ignore-revs" + - ".gemini/**" permissions: contents: read @@ -45,7 +34,8 @@ jobs: ports: - 5432:5432 options: >- - --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + --health-cmd pg_isready --health-interval 10s --health-timeout 5s + --health-retries 5 mysql: image: mysql:8.0 env: @@ -56,11 +46,12 @@ jobs: ports: - 3306:3306 options: >- - --health-cmd="mysqladmin ping -h localhost -u root -proot" --health-interval=10s --health-timeout=5s --health-retries=5 + --health-cmd="mysqladmin ping -h localhost -u root -proot" + --health-interval=10s --health-timeout=5s --health-retries=5 strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] + python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ] steps: - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 @@ -77,7 +68,6 @@ jobs: run: | echo "$HOME/.cargo/bin" >> $GITHUB_PATH - # Coverage comparison for PRs (only on Python 3.14 to avoid duplicate work) - name: Checkout Base Branch if: github.event_name == 'pull_request' && matrix.python-version == '3.14' @@ -85,7 +75,7 @@ jobs: with: ref: ${{ github.event.pull_request.base.ref || 'main' }} clean: true - + - name: Install dependencies run: uv sync --locked