Skip to content

Commit

Permalink
Merge pull request #64 from uniplaces/NI/fix-ci
Browse files Browse the repository at this point in the history
[RFC][NI] Migrate CI to Github actions
  • Loading branch information
Tiago Brito authored Feb 12, 2021
2 parents 223a865 + 21d4071 commit 71fce27
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
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.

0 comments on commit 71fce27

Please sign in to comment.