-
Notifications
You must be signed in to change notification settings - Fork 65
/
dev.yml
36 lines (32 loc) · 820 Bytes
/
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
name: ghostferry
env:
MYSQL_VERSION: "8.0"
up:
- homebrew:
- mysql-client@5.7:
or: [mysql@5.7]
conflicts: [mysql-connector-c, mysql, mysql-client]
- ruby: "2.7.3"
- bundler
- go:
version: "1.16"
- podman
- custom:
name: Go Dependencies
met?: go mod download
meet: echo 'go mod failed to download dependencies'; false
- custom:
name: MySQL
met?: podman-compose -f docker-compose_8.0.yml up -d mysql-1 mysql-2
meet: echo 'mysql failed to start'; false
down: podman-compose -f docker-compose_8.0.yml stop mysql-1 mysql-2
commands:
test:
desc: Run all the tests.
run: make test
test-go:
desc: Run the golang test suite.
run: make test-go
test-ruby:
desc: Run the ruby test suite.
run: make test-ruby