Skip to content

Commit

Permalink
Run ginkgo suite in control-api as part of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kthomas committed Jan 2, 2024
1 parent d0a4b92 commit 2d87466
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
with:
go-version: '1.21'

- name: Install ginkgo
shell: bash --noprofile --norc -x -eo pipefail {0}
run: |
go install github.com/onsi/ginkgo/v2/ginkgo
- name: Install lint deps
shell: bash --noprofile --norc -x -eo pipefail {0}
run: |
Expand All @@ -40,12 +45,15 @@ jobs:
working-directory: ./nex-cli/cmd/nex
run: go build -tags netgo -ldflags '-extldflags "-static"'

- name: Test nex-node
working-directory: ./nex-node
run: go test -v ./...
- name: Test nex-agent
working-directory: ./nex-agent
run: go test -v ./...
- name: Test nex-cli
working-directory: ./nex-cli
run: go test -v ./...
- name: Test control-api
working-directory: ./control-api
run: ginkgo
- name: Test nex-node
working-directory: ./nex-node
run: go test -v ./...

0 comments on commit 2d87466

Please sign in to comment.