8000 chore: Ignore a2a ut tests for python 3.9 given a2a-sdk only supports… · bl3ck/adk-python@c755cf2 · GitHub
[go: up one dir, main page]

Skip to content

Commit c755cf2

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: Ignore a2a ut tests for python 3.9 given a2a-sdk only supports 3.10+
PiperOrigin-RevId: 772270172
1 parent 94caccc commit c755cf2

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/python-unit-tests.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ jobs:
4848
- name: Run unit tests with pytest
4949
run: |
5050
source .venv/bin/activate
51-
pytest tests/unittests \
52-
--ignore=tests/unittests/artifacts/test_artifact_service.py \
53-
6CEF --ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
51+
if [[ "${{ matrix.python-version }}" == "3.9" ]]; then
52+
pytest tests/unittests \
53+
--ignore=tests/unittests/a2a \
54+
--ignore=tests/unittests/artifacts/test_artifact_service.py \
55+
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
56+
else
57+
pytest tests/unittests \
58+
--ignore=tests/unittests/artifacts/test_artifact_service.py \
59+
--ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py
60+
fi

0 commit comments

Comments
 (0)
0