chore: bump httpx2 from 2.10.0 to 2.11.0 (#184) #195
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: CodSpeed | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| # Lets CodSpeed trigger a backtest run to seed the initial performance data. | |
| workflow_dispatch: | |
| concurrency: | |
| group: codspeed-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| benchmarks: | |
| name: Run benchmarks | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write # OpenID Connect authentication with CodSpeed | |
| env: | |
| UV_PYTHON: '3.12' | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync --frozen | |
| # `-n 0` opts out of the xdist default in pyproject.toml: the measurement | |
| # must happen in a single process. | |
| - name: Run benchmarks | |
| uses: CodSpeedHQ/action@4296e51e7041e24dadb86d1d6e8b9320d223dbe8 # v5.0.3 | |
| with: | |
| mode: simulation | |
| run: uv run --no-sync pytest benchmarks --codspeed -n 0 |