File: codspeed.yml

package info (click to toggle)
pythran 0.18.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,784 kB
  • sloc: cpp: 62,850; python: 42,432; sh: 137; makefile: 87
file content (32 lines) | stat: -rw-r--r-- 791 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CodSpeed Benchmarks

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  benchmarks:
    name: Run benchmarks
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: "3.13"
      - name: Install Pythran dependencies
        run: |
          python -m pip install --upgrade pip
          python -m pip install .
          python -m pip install . 'pythran[build]'
      - name: Install Codspeed dependencies
        run: pip install pytest pytest-codspeed
      - name: Run the benchmarks
        uses: CodSpeedHQ/action@v4
        with:
          mode: instrumentation
          run: pytest pythran/benchmarks/ --codspeed