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
6 changes: 3 additions & 3 deletions .github/workflows/coverage-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ jobs:
github.event.workflow_run.conclusion == 'success'
steps:
- name: Download Coverage Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.A2A_BOT_PAT }}
name: coverage-data

- name: Upload Coverage Report
id: upload-report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage/
retention-days: 14

- name: Post Comment
uses: actions/github-script@v6
uses: actions/github-script@v8
env:
ARTIFACT_URL: ${{ steps.upload-report.outputs.artifact-url }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
# Coverage comparison for PRs (only on Python 3.13 to avoid duplicate work)
- name: Checkout Base Branch
if: github.event_name == 'pull_request' && matrix.python-version == '3.13'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.base.ref || 'main' }}
clean: true
Expand All @@ -73,7 +73,7 @@ jobs:

- name: Checkout PR Branch (Restore)
if: github.event_name == 'pull_request' && matrix.python-version == '3.13'
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
clean: true

Expand All @@ -91,7 +91,7 @@ jobs:
echo ${{ github.event.pull_request.base.ref || 'main' }} > ./BASE_BRANCH

- name: Upload Coverage Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: github.event_name == 'pull_request' && matrix.python-version == '3.13'
with:
name: coverage-data
Expand All @@ -109,7 +109,7 @@ jobs:
run: uv run pytest --cov=a2a --cov-report term --cov-fail-under=88

- name: Upload Artifact (base)
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: github.event_name != 'pull_request' && matrix.python-version == '3.13'
with:
name: coverage-report
Expand Down
Loading