Skip to content

Commit

Permalink
run codspeed for python
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jun 30, 2024
1 parent 586be0a commit 0033b56
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

jobs:
benchmarks:
benchmarks-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -32,3 +32,17 @@ jobs:
with:
run: "cd src/core && cargo codspeed run"
token: ${{ secrets.CODSPEED_TOKEN }}

benchmarks-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: tox -e codspeed

0 comments on commit 0033b56

Please sign in to comment.