Skip to content

Commit

Permalink
added tests on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
kbudde committed May 12, 2022
1 parent bd49614 commit d442c1b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 96 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: PR

on:
pull_request:
branches: [ main ]

jobs:
tests:
name: go tests
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: run tests
run: |
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
go tests ./... -v
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

61 changes: 0 additions & 61 deletions Makefile

This file was deleted.

0 comments on commit d442c1b

Please sign in to comment.