Skip to content

Commit

Permalink
Update test targets
Browse files Browse the repository at this point in the history
Add e2e test target and update the test execution to match the github
action.

Signed-off-by: Roman Mohr <[email protected]>
  • Loading branch information
rmohr committed Jul 11, 2024
1 parent 5d1643e commit 2d5d6b8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ gazelle:
bazelisk run //:gazelle

test: gazelle
bazelisk test //pkg/...
bazelisk build --config=built-toolchain //... && bazelisk test --config=built-toolchain //...

buildifier:
bazelisk run //:buildifier

gofmt:
gofmt -w pkg/.. cmd/..

e2e:
(cd e2e/bazel-5 && bazelisk build //...)
(cd e2e/bazel-6 && bazelisk build //...)
(cd e2e/bazel-7 && bazelisk build //...)

fmt: gofmt buildifier

.PHONY: gazelle test deps-update buildifier gofmt fmt
.PHONY: gazelle test deps-update buildifier gofmt fmt e2e

0 comments on commit 2d5d6b8

Please sign in to comment.