Skip to content

Commit

Permalink
ci: add test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mcuadros committed May 10, 2020
1 parent 8224ed6 commit bede5cf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
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 -v ./...
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# go-vcsurl
# go-vcsurl [![GoDoc](https://godoc.org/github.com/gitsight/go-vcsurl?status.svg)](https://pkg.go.dev/github.com/gitsight/go-vcsurl) [![Test](https://github.com/gitsight/go-vcsurl/workflows/Test/badge.svg)](https://github.com/gitsight/go-vcsurl/actions?query=workflow%3ATest)


`go-vcsurl` library provides a VCS URL parser for HTTP, git or ssh remote URLs
and also frontend URLs from providers like GitHub, GitLab, and Bitbucket.
Expand Down

0 comments on commit bede5cf

Please sign in to comment.