feat(core): GM 同步调用超时端到端贯通 + OTel SDK 一期传播 #101
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: CI - Python SDK | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths: ["sdks/python/**"] | |
| pull_request: | |
| branches: [main] | |
| paths: ["sdks/python/**"] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: "pip" | |
| cache-dependency-path: "sdks/python/requirements*.txt" | |
| - run: pip install -e '.[dev]' | |
| working-directory: sdks/python | |
| - run: pytest --cov=croupier --cov-report=xml --cov-report=term | |
| working-directory: sdks/python | |
| - uses: codecov/codecov-action@v7 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: sdks/python/coverage.xml | |
| flags: python-sdk | |
| disable_search: true |