Skip to content

Commit 8a944ad

Browse files
Corey Daleyadambkaplan
authored andcommitted
enabling github actions for unit tests
1 parent 72c80ce commit 8a944ad

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
pull_request:
3+
branches: [ master ]
4+
push:
5+
branches: [ master ]
6+
name: ci/github
7+
jobs:
8+
unit:
9+
strategy:
10+
matrix:
11+
go-version: [1.15.x]
12+
os: [ubuntu-latest]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Install Go
16+
uses: actions/setup-go@v2
17+
with:
18+
go-version: ${{ matrix.go-version }}
19+
- name: Check out code
20+
uses: actions/checkout@v2
21+
- name: Install dependencies
22+
run: |
23+
go version
24+
go get -u github.com/onsi/ginkgo/ginkgo
25+
go get -u github.com/onsi/gomega/...
26+
ginkgo version
27+
- name: Build
28+
run: make build
29+
- name: Test
30+
run: make test

0 commit comments

Comments
 (0)