-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (31 loc) · 758 Bytes
/
bench.yml
File metadata and controls
35 lines (31 loc) · 758 Bytes
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
name: benchmarks
on:
push:
branches: ["main"]
paths:
- 'crates/mq-lang/**'
pull_request:
branches: ["main"]
paths:
- 'crates/mq-lang/**'
concurrency:
group: "benchmarks"
cancel-in-progress: false
env:
CARGO_TERM_COLOR: always
jobs:
benchmarks:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]'
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install codspeed
run: cargo install cargo-codspeed --locked
- uses: extractions/setup-just@v3
- name: Run benchmarks
uses: CodSpeedHQ/action@v4
with:
run: just bench
mode: simulation
token: ${{ secrets.CODSPEED_TOKEN }}