fix: avoid UserWarning in _build_response_log when response has funct… #14895
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python Unit Tests | |
| on: | |
| push: | |
| branches: [main, v1, v2] | |
| pull_request: | |
| branches: [main, v1, v2] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: | | |
| uv venv .venv | |
| source .venv/bin/activate | |
| uv sync --extra test | |
| - name: Run unit tests with pytest | |
| run: | | |
| source .venv/bin/activate | |
| pytest tests/unittests \ | |
| -n auto \ | |
| --ignore=tests/unittests/artifacts/test_artifact_service.py \ | |
| --ignore=tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py |