Repository navigation
chore(deps): bump the python-minor-patch group with 4 updates #56
Workflow file for this run
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 | |
| # Continuous performance gate: run the micro-benchmarks (benchmarks/test_perf.py) under CodSpeed's CPU | |
| # simulation, which measures a deterministic instruction count rather than wall time, so a runner's noise | |
| # never flakes it. CodSpeed compares each commit to the base and reports a pass/fail on the PR. A public | |
| # repo uploads over OIDC (id-token), so no token secret is needed - only the CodSpeed GitHub App installed. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| benchmarks: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| 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: false | |
| - name: Run benchmarks under CodSpeed | |
| uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1 | |
| with: | |
| mode: simulation | |
| run: uv run --locked --group benchmark pytest benchmarks/ --codspeed --no-cov |