Skip to content

Commit

Permalink
chore(DO NOT MERGE): upload a dev run
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Jan 14, 2025
1 parent bb1910b commit daacd05
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,16 @@ env:

jobs:
benchmarks-instrumentation:
name: Run instrumentation benchmarks
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install local version of pytest-codspeed
run: |
sudo apt-get install valgrind -y
pip install .
sudo apt-get remove valgrind -y
- name: Run benchmarks
uses: CodSpeedHQ/action@main
with:
run: pytest tests/benchmarks/ --codspeed
strategy:
matrix:
include:
- mode: "instrumentation"
runs-on: ubuntu-24.04
- mode: "walltime"
runs-on: codspeed-macro

benchmarks-walltime:
name: Run walltime benchmarks
runs-on: codspeed-macro
name: Run ${{ matrix.mode }} benchmarks
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -49,3 +37,5 @@ jobs:
uses: CodSpeedHQ/action@main
with:
run: pytest tests/benchmarks/ --codspeed
upload-url: ${{ secrets.ARTHUR_DEV_UPLOAD_URL }}
token: ${{ secrets.ARTHUR_DEV_TOKEN }}3d577eb2-d631-41ce-b4e0-9f3ce42df329

0 comments on commit daacd05

Please # to comment.