Skip to content

Commit c1ca4ee

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

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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+
go install github.com/onsi/ginkgo/v2/ginkgo@latest
16+
./bin/test_all
17+
popd
18+

0 commit comments

Comments
 (0)