Skip to content

Commit

Permalink
enabling github actions for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coreydaley authored and adambkaplan committed Dec 18, 2020
1 parent 72c80ce commit 8a944ad
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
name: ci/github
jobs:
unit:
strategy:
matrix:
go-version: [1.15.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Check out code
uses: actions/checkout@v2
- name: Install dependencies
run: |
go version
go get -u github.com/onsi/ginkgo/ginkgo
go get -u github.com/onsi/gomega/...
ginkgo version
- name: Build
run: make build
- name: Test
run: make test

0 comments on commit 8a944ad

Please sign in to comment.