Merge pull request #288 from alcides/dependabot/pip/numpy-2.2.3 #87
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 | |
on: | |
push: | |
branches: | |
- "main" # or "master" | |
pull_request: | |
# `workflow_dispatch` allows CodSpeed to trigger backtest | |
# performance analysis in order to generate initial data. | |
workflow_dispatch: | |
jobs: | |
codspeed: | |
name: Run benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Install dev dependencies | |
run: pip install -r requirements-dev.txt | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Install geneticengine | |
run: pip install -e . | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: pytest tests/ --codspeed |