Skip to content

Commit

Permalink
Added a github action for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-kreuzberger-dtx committed Mar 31, 2020
1 parent e140864 commit 51beede
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 46 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: tests
on: [pull_request]
jobs:
test:
strategy:
matrix:
go-version: [1.12.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
env:
GO111MODULE: "on"
GOPROXY: "https://proxy.golang.org"
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -race -v ./...
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

0 comments on commit 51beede

Please sign in to comment.