Skip to content

Commit 69ef9d3

Browse files
authored
Enable memory mode for codspeed (#1676)
* Enable Walltime and memory mode for codspeed * Remove walltime
1 parent b8407a3 commit 69ef9d3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,17 @@ jobs:
348348
349349
benchmarks:
350350
runs-on: "ubuntu-latest"
351-
name: Run benchmarks
351+
name: Run benchmarks (${{ matrix.mode }})
352352
if: ${{ github.event_name != 'release' }}
353353
needs:
354354
- info
355355
- tests
356+
strategy:
357+
fail-fast: false
358+
matrix:
359+
mode:
360+
- simulation
361+
- memory
356362
steps:
357363
- name: ⤵️ Checkout repository
358364
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -378,7 +384,7 @@ jobs:
378384
uses: CodSpeedHQ/action@a4a36bb07c0638b0b4ca52bf1f3dad1b4289e52f # v4.18.1
379385
with:
380386
run: pytest tests/ --codspeed
381-
mode: instrumentation
387+
mode: ${{ matrix.mode }}
382388

383389
sdist:
384390
name: Create source distribution

0 commit comments

Comments
 (0)