Skip to content

Commit

Permalink
Added test workflow. Added badge for godoc and the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zond committed Apr 14, 2020
1 parent 47d64d4 commit 924742e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test godip

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go
- name: Check out code
uses: actions/checkout@v2
- name: Run tests
run: go test -v ./...
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
![Test godip](https://github.com/zond/godip/workflows/Test%20godip/badge.svg)
[![GoDoc](https://godoc.org/github.com/zond/godip?status.svg)](https://godoc.org/github.com/zond/godip)

godip
=====

Expand Down

0 comments on commit 924742e

Please sign in to comment.