Skip to content

Commit

Permalink
test(github action): add go test
Browse files Browse the repository at this point in the history
  • Loading branch information
neargle committed Jul 10, 2022
1 parent d3886f5 commit 548ef65
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w " ./cmd/cdk/cdk.go
# test Evaluate, Exploit and Tool
./cdk eva 2>&1 | head
./cdk run test-poc | head
./cdk ifconfig | head
# test main function with Evaluate, Exploit and Tool
go test -v -timeout 30s -run ^TestParseCDKMain$ pkg/cli/*.go

0 comments on commit 548ef65

Please sign in to comment.