File tree Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Expand file tree Collapse file tree 1 file changed +1
-26
lines changed Original file line number Diff line number Diff line change @@ -24,32 +24,7 @@ pipeline:
24
24
name : go_build
25
25
spec :
26
26
shell : Sh
27
- command : |-
28
- apt-get update
29
- apt purge golang
30
- apt install -y golang
31
- go version
32
- go get -u ./...
33
- go build examples/getting_started.go
34
- timeout : " "
35
- type : Run
36
- - step :
37
- identifier : gotestcoverage
38
- name : go_test_coverage
39
- spec :
40
- command : go test -coverprofile=coverage.out ./...
41
- timeout : " "
42
- type : Run
43
- - step :
44
- identifier : gotestreport
45
- name : go_test_report
46
- spec :
47
- command : " export GOBIN=/home/harness/go/bin\n\t\t export PATH=/home/harness/go/bin:$PATH\n\t\t echo $PATH\n\t\t go install github.com/jstemmer/go-junit-report/v2@latest\n\t\t go test -v 2>&1 ./... | go-junit-report -set-exit-code > report.xml"
48
- reports :
49
- spec :
50
- paths :
51
- - /harness/report.xml
52
- type : JUnit
27
+ command : echo "Building Go"
53
28
timeout : " "
54
29
type : Run
55
30
platform :
You can’t perform that action at this time.
0 commit comments