File tree 5 files changed +39
-27
lines changed
5 files changed +39
-27
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout Code
10
+ uses : actions/checkout@v2
11
+
12
+ - name : Set up Go
13
+ uses : actions/setup-go@v2
14
+ with :
15
+ go-version : 1.15
16
+
17
+ - name : Set up Tools
18
+ run : |
19
+ go get -u github.com/fzipp/gocyclo/cmd/gocyclo
20
+ go get -u github.com/mattn/goveralls
21
+ go get -u golang.org/x/lint/golint
22
+
23
+ - name : Test
24
+ run : |
25
+ make test
26
+
27
+ - name : Test for Race Conditions
28
+ run : make test-race
29
+
30
+ - name : Benchmark
31
+ run : make bench
32
+
33
+ - name : Upload Coverage Report
34
+ env :
35
+ COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
36
+ run : goveralls -service=travis-pro -coverprofile=.coverprofile
Original file line number Diff line number Diff line change 1
1
/.idea /
2
2
/demo *
3
3
/profile /
4
- .coverprofile
4
+ .coverprofile
5
+ * .swp
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ profile:
35
35
test : fmt lint vet cyclo
36
36
go test -cover -coverprofile=.coverprofile $(shell go list ./...)
37
37
38
- test-min : lint vet
39
- go test -cover -coverprofile=.coverprofile $(shell go list ./...)
40
-
41
38
test-race :
42
39
go run -race ./cmd/demo-progress/demo.go
43
40
Original file line number Diff line number Diff line change 1
1
# go-pretty
2
2
3
3
[ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/jedib0t/go-pretty/v6.svg )] ( https://pkg.go.dev/github.com/jedib0t/go-pretty/v6 )
4
- [ ![ Build Status] ( https://travis-ci .com/jedib0t/go-pretty.svg?branch=master )] ( https://travis-ci .com/jedib0t/go-pretty )
4
+ [ ![ Build Status] ( https://github .com/jedib0t/go-pretty/workflows/CI/badge .svg?branch=master )] ( https://github .com/jedib0t/go-pretty/actions?query=workflow%3ACI+event%3Apush+branch%3Amaster )
5
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/jedib0t/go-pretty/badge.svg?branch=master )] ( https://coveralls.io/github/jedib0t/go-pretty?branch=master )
6
6
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/jedib0t/go-pretty )] ( https://goreportcard.com/report/github.com/jedib0t/go-pretty )
7
7
You can’t perform that action at this time.
0 commit comments