File tree 4 files changed +47
-36
lines changed
4 files changed +47
-36
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ push :
5
+ branches : " master"
6
+ pull_request :
7
+ branches : " *"
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ go-version : [ 1.12.x, 1.13.x, 1.14.x ]
15
+ os : [ ubuntu-latest, macos-latest ]
16
+ env :
17
+ OS : ${{ matrix.os }}
18
+ GO_VERSION : ${{ matrix.go-version }}
19
+ steps :
20
+ - name : Install Go
21
+ uses : actions/setup-go@v2
22
+ with :
23
+ go-version : ${{ matrix.go-version }}
24
+
25
+ - name : Checkout code
26
+ uses : actions/checkout@v2
27
+
28
+ - name : Install nvim binary
29
+ uses : rhysd/action-setup-vim@v1
30
+ with :
31
+ neovim : true
32
+ version : nightly
33
+
34
+ - name : Test and vet
35
+ run : |
36
+ diff -u <(echo -n) <(gofmt -s -d .)
37
+ go vet ./...
38
+ go test -v -race -covermode=atomic -coverpkg=./... -coverprofile=coverage.out ./...
39
+
40
+
41
+ with :
42
+ file : ./coverage.out
43
+ env_vars : OS,GO_VERSION
44
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ _testmain.go
22
22
* .exe
23
23
* .test
24
24
* .prof
25
+
26
+ coverage. *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[ ![ GoDoc] ( https://godoc.org/github.com/neovim/go-client?status.svg )] ( https://godoc.org/github.com/neovim/go-client )
2
- [ ![ Build Status ] ( https://travis-ci.org /neovim/go-client.svg?branch=master )] ( https://travis-ci.org /neovim/go-client )
2
+ [ ![ Github Actions ] ( https://github.com /neovim/go-client/workflows/Test/badge .svg?branch=master )] ( https://github.com /neovim/go-client/actions )
3
3
4
4
Neovim/go-client is a [ Neovim] ( https://neovim.io/ ) client and plugin host for [ Go] ( https://golang.org/ ) .
5
5
You can’t perform that action at this time.
0 commit comments