Skip to content

Commit

Permalink
chore: ensure we include petstore in tests/build
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhitt committed Dec 29, 2024
1 parent 188b59d commit 9d0518a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ ci: fmt lint cover
ci-full: ci dependencies-analyze openapi-check check-all-modules lint-markdown bench

test:
go test ./...

check-all-modules:
./check-all-modules.sh
go test ./... ./examples/petstore/...

cover:
go test -coverprofile=coverage.out ./...
go test -coverprofile=coverage.out ./... ./examples/petstore/...
go tool cover -func=coverage.out

check-all-modules:
./check-all-modules.sh

cover-web: cover
go tool cover -html=coverage.out

bench:
go test -bench ./... -benchmem

build:
go build -v ./...
go build -v ./... ./examples/petstore/...

dependencies-analyze:
which govulncheck || go install golang.org/x/vuln/cmd/govulncheck@latest
Expand Down

0 comments on commit 9d0518a

Please sign in to comment.