Skip to content

Commit 949db36

Browse files
committed
add task for interim testing
1 parent a7fc1b1 commit 949db36

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

task

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
set -eux
4+
5+
root_dir="${PWD}"
6+
7+
# Inputs
8+
GO_PIVNET_DIR="${root_dir}/${GO_PIVNET_DIR:?"\$GO_PIVNET_DIR not set"}"
9+
10+
export GOPATH="${PWD}/gopath"
11+
export PATH="${GOPATH}/bin:${PATH}"
12+
13+
pushd $GO_PIVNET_DIR
14+
GO111MODULE=on go mod vendor
15+
popd
16+
go get -u github.com/onsi/ginkgo/ginkgo
17+
18+
"${GO_PIVNET_DIR}/bin/test_all"

0 commit comments

Comments
 (0)