Generate rename metadata for aliases in generated hooks #30
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 Benchmarks | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ["*"] | |
| paths: | |
| - src/**.py | |
| - bench/** | |
| - .github/workflows/codspeed.yml | |
| pull_request: | |
| paths: | |
| - src/**.py | |
| - bench/** | |
| - .github/workflows/codspeed.yml | |
| workflow_dispatch: | |
| permissions: | |
| contents: read # required for actions/checkout | |
| id-token: write # required for OIDC authentication with CodSpeed | |
| jobs: | |
| codspeed: | |
| name: Run CodSpeed benchmarks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v6.1.0 | |
| with: | |
| python-version: "3.14" | |
| - uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0 | |
| - name: Run CodSpeed benchmarks | |
| uses: CodSpeedHQ/action@346a2d8a8d9d38909abd0bc3d23f773110f076ad # v4.4.1 | |
| with: | |
| mode: simulation | |
| run: uv run --with pytest-codspeed --with pytest-benchmark --group test --extra msgspec --extra orjson pytest --codspeed bench/ |