Skip to content

Commit

Permalink
choir: setup build with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
riezebosch authored Feb 12, 2020
1 parent ad9fe82 commit eb9bef5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.12.x, 1.13.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: install
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v1
- run: |
git fetch --all
- name: get dependencies
run: |
go get -v -t -d ./...
- name: build
run: go build -v .
- name: test
run: go test ./...
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## gitviz

![Test](https://github.com/riezebosch/gitviz/workflows/Test/badge.svg)

For education purposes: visualize the git repository real time revealing the blobs, trees and commits that make up
the [git data structure](https://eagain.net/articles/git-for-computer-scientists/).

Expand Down

0 comments on commit eb9bef5

Please sign in to comment.