Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC][NI] Migrate CI to Github actions #64

Merged
merged 3 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on: pull_request

jobs:
test:
strategy:
matrix:
go-version: [1.13, 1.14, 1.15]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Install dependencies
run: go get -t ./...

- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic

- name: Upload coverage to codecov
uses: codecov/codecov-action@v1
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.