-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
23 lines (18 loc) · 938 Bytes
/
Copy pathmise.toml
File metadata and controls
23 lines (18 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tools]
ruby = "3.3"
# Ensure tasks resolve the mise-managed ruby even when the parent shell's PATH
# has /usr/bin ahead of mise's tool dirs (e.g. restored shell snapshots).
[env]
PATH = "{{env.HOME}}/.local/share/mise/shims:{{env.PATH}}"
[tasks.setup]
description = "Install gems for the default (upstream) source and pull the MySQL and Postgres images"
run = "mise exec -- ruby bin/bench setup"
[tasks.bench]
description = "Proxy to bin/bench (e.g. mise run bench -- run baseline --source upstream)"
run = "mise exec -- ruby bin/bench"
[tasks.test]
description = "Run orchestrator unit tests"
run = "mise exec -- ruby -Ilib -Itest -e 'Dir.glob(\"test/**/*_test.rb\").sort.each { |f| require File.expand_path(f) }'"
[tasks.smoke]
description = "Tiny end-to-end run to verify the pipeline"
run = "mise exec -- ruby bin/bench run baseline --source upstream --profile smoke --set jobs=100 --set rate=100 --set work_ms=0 --timeout 180"