Fix #1325: Put cached properties in class __dict__ (not the nonexistent instance __dict__) for slotted classes #497
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: | |
| env: | |
| FORCE_COLOR: "1" | |
| PIP_DISABLE_PIP_VERSION_CHECK: "1" | |
| PIP_NO_PYTHON_VERSION_WARNING: "1" | |
| permissions: {} | |
| jobs: | |
| codspeed: | |
| name: Run CodSpeed benchmarks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version-file: .python-version-default | |
| - uses: hynek/setup-cached-uv@757bedc3f972eb7227a1aa657651f15a8527c817 # v2.3.0 | |
| - name: Run CodSpeed benchmarks | |
| uses: CodSpeedHQ/action@ac0b0207a067aeb38de75cda57d2662345cac92a # v4.10.0 | |
| with: | |
| mode: instrumentation | |
| token: ${{ secrets.CODSPEED_TOKEN }} | |
| run: uvx --with tox-uv tox run -e codspeed |