forked from Shopify/identity_cache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
40 lines (34 loc) · 832 Bytes
/
dev.yml
File metadata and controls
40 lines (34 loc) · 832 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
36
37
38
39
40
name: identity-cache
up:
- homebrew:
- postgresql
- ruby: 2.4.1
- railgun
- bundler
env:
RAILGUN_HOST: identity-cache.railgun
MYSQL_HOST: identity-cache.railgun
POSTGRES_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
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