Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dependency Health
name: Review Development Dependencies

on:
workflow_dispatch:
Expand All @@ -11,18 +11,19 @@ permissions:

jobs:
dependency-health:
name: Audit Development Dependencies
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Python
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"

- name: Setup uv
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: false
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Release Publish and Repair

on:
push:
Expand Down Expand Up @@ -31,6 +31,7 @@ permissions:

jobs:
publish:
name: Build and Publish Release Artifacts
runs-on: ubuntu-latest

steps:
Expand All @@ -40,17 +41,17 @@ jobs:
fetch-depth: 0
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.release_tag || github.ref }}

- name: Setup Python
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"

- name: Setup uv
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: false

- name: Run regression baseline
- name: Run default regression baseline
run: bash ./scripts/doctor.sh

- name: Export runtime requirements for vulnerability audit
Expand Down Expand Up @@ -94,10 +95,10 @@ jobs:
print(f"Validated release version: {version}")
PY

- name: Smoke test wheel install
- name: Smoke test wheel artifact
run: bash ./scripts/smoke_test_built_cli.sh dist/opencode_a2a-*.whl

- name: Smoke test sdist install
- name: Smoke test sdist artifact
run: bash ./scripts/smoke_test_built_cli.sh dist/opencode_a2a-*.tar.gz

- name: Publish to PyPI
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/ci.yml → .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Validate PRs and Main

on:
pull_request:
Expand All @@ -11,29 +11,30 @@ permissions:

jobs:
quality-gate:
name: Validate Default Toolchain
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Python
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"

- name: Setup uv
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: false

- name: Sync Dependencies
- name: Sync locked dependencies
run: uv sync --all-extras --frozen

- name: Run pre-commit
- name: Run lint checks
run: bash ./scripts/lint.sh

- name: Run pytest
- name: Run test suite
run: uv run pytest

- name: Enforce coverage policy
Expand All @@ -60,6 +61,7 @@ jobs:
run: bash ./scripts/smoke_test_built_cli.sh dist/opencode_a2a-*.tar.gz

runtime-matrix:
name: Validate Runtime Matrix (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -70,18 +72,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Python
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

- name: Setup uv
- name: Set up uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: false

- name: Sync Dependencies
- name: Sync locked dependencies
run: uv sync --all-extras --frozen

- name: Run pytest runtime matrix
- name: Run runtime regression tests
run: uv run pytest --no-cov
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dev = [
"mypy>=1.19.1,<2.0",
"pip-audit>=2.9,<3.0",
"pre-commit>=4.5.1,<5.0",
"pygments>=2.20.0,<3.0",
"pytest>=8.0,<10.0",
"pytest-asyncio>=0.23,<2.0",
"pytest-cov>=7.0.0,<8.0.0",
Expand Down
8 changes: 5 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.