Fixes for release (#730) #1358
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" | |
| paths: | |
| - "dkist/**" | |
| pull_request: | |
| paths: | |
| - "dkist/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| benchmarks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: '3.14' | |
| - run: python -m pip install .[tests] pytest-codspeed | |
| - name: Run benchmarks | |
| uses: CodspeedHQ/action@9d332c4d90b43981c3e55ae8e38e68709996240f # v4.17.0 | |
| with: | |
| mode: "simulation" | |
| token: ${{ secrets.CODSPEED_TOKEN }} # zizmor: ignore[secrets-outside-env] We want this to run everywhere so it always needs the token | |
| run: "pytest -vvv -r fEs --pyargs dkist --codspeed --remote-data=any" |