Skip to content

Commit f902938

Browse files
committed
Set up CodSpeed in CI
1 parent 624c551 commit f902938

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,13 @@ jobs:
163163
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }}
164164
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
165165

166+
- name: Run CodSpeed benchmarks
167+
uses: CodSpeedHQ/action@a4a36bb07c0638b0b4ca52bf1f3dad1b4289e52f # v4.18.1
168+
if: ${{ matrix.os == 'ubuntu-latest' }}
169+
with:
170+
mode: simulation
171+
run: python3 -m pip install pytest-codspeed && pytest -vv --codspeed Tests/benchmarks.py
172+
166173
success:
167174
permissions:
168175
contents: none

0 commit comments

Comments
 (0)