forked from devbuddy/devbuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
74 lines (62 loc) · 1.83 KB
/
dev.yml
File metadata and controls
74 lines (62 loc) · 1.83 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
env:
SOME_VAR: some_value
TEST_DOCKER_IMAGE: ghcr.io/devbuddy/docker-testing:sha-7fd13f4
up:
- go:
version: '1.17.3'
modules: true
- homebrew:
- curl
- shellcheck
- golangci/tap/golangci-lint
- apt:
- curl
- shellcheck
- custom:
name: Install golangci-lint
met?: which golangci-lint
meet: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.43.0
commands:
test:
desc: Run the unittests
run: script/test
integration:
desc: Run the integration tests with Bash
run: |
docker pull $TEST_DOCKER_IMAGE
TEST_SHELL=bash go test -v ./tests
integration-zsh:
desc: Run the integration tests with Zsh
run: |
docker pull $TEST_DOCKER_IMAGE
TEST_SHELL=zsh go test -v ./tests
lint:
desc: Lint the project
run: script/lint
lint-shell:
desc: Lint the shell scripts
run: shellcheck script/*
ci:
desc: Run all tests as CI would do
run: script/test && script/lint && TEST_SHELL=zsh go test -v ./tests
release:
desc: Create a new release
run: script/release.py release
patch:
desc: Create a new patch release
run: script/release.py patch
rc:
desc: Create a new release-candidate or increment the last release-candidate
run: script/release.py release-candidate
releaselog:
desc: Show the commits since the last tag
run: git log `git describe --tags --abbrev=0`..HEAD --pretty=format:'%s'
godoc: (sleep 1; open http://0.0.0.0:6060/pkg/github.com/devbuddy/devbuddy/pkg/)& godoc -http=:6060
install:
desc: Build and install DevBuddy in ${GOPATH}/bin
run: script/install-dev.sh
build:
desc: Build all bud binaries
run: script/buildall
open:
milestone: https://github.com/devbuddy/devbuddy/milestone/1