forked from Shopify/lhm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
20 lines (19 loc) · 743 Bytes
/
dev.yml
File metadata and controls
20 lines (19 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: lhm
up:
- homebrew:
- mysql-client@5.7:
or: [mysql@5.7]
conflicts: [shopify/shopify/mysql-client, mysql-connector-c, mysql, mysql-client]
- wget
- ruby: 2.6.5
- bundler
- custom:
name: Database
met?: test -f spec/integration/database.yml && test "$(./dbdeployer/sandboxes/rsandbox_5_7_22/status_all | grep on\ | wc -l | xargs echo)" = "2"
meet: ./dbdeployer/install.sh
down: ./dbdeployer/sandboxes/rsandbox_5_7_22/stop_all
commands:
unit: bundle exec rake unit
int: bundle exec rake integration
test: bundle exec rake unit && bundle exec rake integration
cov: rm -rf coverage; COV=1 bundle exec rake unit && bundle exec rake integration; open coverage/index.html