added helper pod scripts #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NNF int-test | |
#on: [push] | |
jobs: | |
int-test: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
cache: true | |
- name: Setup Ginkgo | |
run: > | |
GINKGO_MOD=$(grep "github.com/onsi/ginkgo" go.mod | awk '{print $1 "@" $2}') | |
GOMEGA_VER=$(grep "github.com/onsi/gomega" go.mod | awk '{print $2}') | |
bash -c 'echo Using $GINKGO_MOD and gomega $GOMEGA_VER && go get $GINKGO_MOD && go get github.com/onsi/gomega@$GOMEGA_VER' | |
- name: Setup Ginkgo CLI | |
run: > | |
GINKGO_CLI_VER=$(grep "github.com/onsi/ginkgo" go.mod | awk '{print $2}') | |
bash -c 'go install github.com/onsi/ginkgo/v2/ginkgo@$GINKGO_CLI_VER' | |
- name: Run int-test on Self-Hosted System | |
run: type ginkgo && ginkgo version && ginkgo run -p --vv ./test/... |