qto.py: Make nan/inf magnitude checks accept uncertainties #466
Workflow file for this run
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: | |
- "master" | |
- "develop" | |
pull_request: | |
# `workflow_dispatch` allows CodSpeed to trigger backtest | |
# performance analysis in order to generate initial data. | |
workflow_dispatch: | |
jobs: | |
benchmarks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: pip install "numpy>=1.23,<2.0.0" | |
- name: Install bench dependencies | |
run: pip install .[bench] | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v1 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: pytest . --codspeed |