-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (48 loc) · 1.34 KB
/
Copy pathcodspeed.yml
File metadata and controls
51 lines (48 loc) · 1.34 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CodSpeed
on:
push:
branches: [ main ]
paths-ignore:
- 'docs/**'
- '**/*.md'
pull_request:
branches: [ main ]
paths-ignore:
- 'docs/**'
- '**/*.md'
permissions:
contents: read
id-token: write # required for OIDC authentication with CodSpeed
jobs:
benchmarks:
name: Benchmarks
runs-on: ubuntu-latest
services:
ministack:
image: ministackorg/ministack:1.3.53
ports:
- 4566:4566
env:
AWS_DEFAULT_REGION: us-east-1
GATEWAY_PORT: 4566
MINISTACK_ACCOUNT_ID: "000000000000"
MINISTACK_REGION: us-east-1
LOG_LEVEL: INFO
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.13"
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
with:
enable-cache: true
version: "latest"
- name: Install dependencies
run: uv sync --all-extras
- name: Run the benchmarks
uses: CodSpeedHQ/action@4296e51e7041e24dadb86d1d6e8b9320d223dbe8 # v5.0.3
with:
mode: simulation
run: uv run pytest tests/ --codspeed