Skip to content

Commit 3f86690

Browse files
authored
Merge branch 'master' into msgpack-export-error
2 parents 7fd1dcc + 4e72716 commit 3f86690

File tree

4 files changed

+47
-36
lines changed

4 files changed

+47
-36
lines changed

.github/workflows/test.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
- uses: codecov/[email protected]
41+
with:
42+
file: ./coverage.out
43+
env_vars: OS,GO_VERSION
44+
fail_ci_if_error: true

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ _testmain.go
2222
*.exe
2323
*.test
2424
*.prof
25+
26+
coverage.*

.travis.yml

-35
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![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)
33

44
Neovim/go-client is a [Neovim](https://neovim.io/) client and plugin host for [Go](https://golang.org/).
55

0 commit comments

Comments
 (0)