-
Notifications
You must be signed in to change notification settings - Fork 174
/
Copy pathdev.yml
49 lines (41 loc) · 1.04 KB
/
dev.yml
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
name: identity-cache
up:
- homebrew:
or: [[email protected]]
conflicts: [mysql-connector-c, mysql, mysql-client]
- ruby: 3.2.0
- isogun
- bundler
env:
RAILGUN_HOST: identity-cache.railgun
MYSQL_HOST: identity-cache.railgun
MEMCACHED_HOST: identity-cache.railgun
commands:
test:
syntax:
optional:
argument: file
optional: args...
desc: 'Run tests'
run: |
if [[ $# -eq 0 ]]; then
bundle exec rake test
else
bundle exec ruby -I test "$@"
fi
style:
desc: 'Run rubocop checks'
run: bundle exec rubocop "$@"
check:
desc: 'Run tests and style checks'
run: bundle exec rake test && bundle exec rubocop
benchmark-cpu:
desc: 'Run the identity cache CPU benchmark'
run: bundle exec rake benchmark:cpu
profile:
desc: 'Profile IDC code'
run: bundle exec rake profile:run
update-serialization-format:
desc: 'Update serialization format test fixture'
run: bundle exec rake update_serialization_format