Skip to content

Merge pull request #2 from cheginit/dependabot/github_actions/actions… #9

Merge pull request #2 from cheginit/dependabot/github_actions/actions…

Merge pull request #2 from cheginit/dependabot/github_actions/actions… #9

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- main
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.38.0
environments: benchmark
activate-environment: benchmark
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pixi r benchmark