From c755cf23c555a2173b0eafd774cc0cc027b5f3da Mon Sep 17 00:00:00 2001 From: "Xiang (Sean) Zhou" Date: Mon, 16 Jun 2025 19:53:08 -0700 Subject: [PATCH] chore: Ignore a2a ut tests for python 3.9 given a2a-sdk only supports 3.10+ PiperOrigin-RevId: 772270172 --- .github/workflows/python-unit-tests.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-unit-tests.yml b/.github/workflows/python-unit-tests.yml index 0d77402f..d4af7b13 100644 --- a/.github/workflows/python-unit-tests.yml +++ b/.github/workflows/python-unit-tests.yml @@ -48,6 +48,13 @@ jobs: - name: Run unit tests with pytest run: | source .venv/bin/activate - pytest tests/unittests \ - --ignore=tests/unittests/artifacts/test_artifact_service.py \ - --ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py + if [[ "${{ matrix.python-version }}" == "3.9" ]]; then + pytest tests/unittests \ + --ignore=tests/unittests/a2a \ + --ignore=tests/unittests/artifacts/test_artifact_service.py \ + --ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py + else + pytest tests/unittests \ + --ignore=tests/unittests/artifacts/test_artifact_service.py \ + --ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py + fi \ No newline at end of file