allow __suppress_context__ and __notes__ to be mutated on frozen exce… #142
This file contains 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@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version-file: .python-version-default | |
cache: pip | |
- run: python -Im pip install tox-uv | |
- name: Run CodSpeed benchmarks | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: tox run -e codspeed |