Skip to content

Commit 127e4ef

Browse files
committed
ci: Add extras to unit-tests.yml install to prevent dependency issues
1 parent 6d49122 commit 127e4ef

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
5757
- name: Install dependencies
58-
run: uv sync --locked
58+
run: uv sync --all-extras --locked
5959

6060
# Coverage comparison for PRs (only on Python 3.13 to avoid duplicate work)
6161
- name: Checkout Base Branch
@@ -68,7 +68,7 @@ jobs:
6868
- name: Run coverage (Base)
6969
if: github.event_name == 'pull_request' && matrix.python-version == '3.13'
7070
run: |
71-
uv run pytest --cov=a2a --cov-report=json --cov-report=html:coverage
71+
uv run --all-extras pytest --cov=a2a --cov-report=json --cov-report=html:coverage
7272
mv coverage.json /tmp/coverage-base.json
7373
7474
- name: Checkout PR Branch (Restore)
@@ -80,7 +80,7 @@ jobs:
8080
- name: Run coverage (PR)
8181
if: github.event_name == 'pull_request' && matrix.python-version == '3.13'
8282
run: |
83-
uv run pytest --cov=a2a --cov-report=json --cov-report=html:coverage --cov-report=term --cov-fail-under=88
83+
uv run --all-extras pytest --cov=a2a --cov-report=json --cov-report=html:coverage --cov-report=term --cov-fail-under=88
8484
mv coverage.json coverage-pr.json
8585
cp /tmp/coverage-base.json coverage-base.json
8686
@@ -106,7 +106,7 @@ jobs:
106106
# Run standard tests (for matrix items that didn't run coverage PR)
107107
- name: Run tests (Standard)
108108
if: matrix.python-version != '3.13' || github.event_name != 'pull_request'
109-
run: uv run pytest --cov=a2a --cov-report term --cov-fail-under=88
109+
run: uv run --all-extras pytest --cov=a2a --cov-report term --cov-fail-under=88
110110

111111
- name: Upload Artifact (base)
112112
uses: actions/upload-artifact@v4
@@ -117,4 +117,4 @@ jobs:
117117
retention-days: 14
118118

119119
- name: Show coverage summary in log
120-
run: uv run coverage report
120+
run: uv run --all-extras coverage report

0 commit comments

Comments
 (0)