Skip to content

Commit

Permalink
test: exclude ulimit-adjuster from ginkgo
Browse files Browse the repository at this point in the history
ulimit-adjuster tests are written with plain Go tests and do not run
through ginkgo.

Signed-off-by: Samuel Karp <samuelkarp@google.com>
  • Loading branch information
samuelkarp committed Sep 8, 2023
1 parent f0deb59 commit db3de10
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ $(BIN_PATH)/template: $(wildcard plugins/template/*.go)
# test targets
#

test-gopkgs: ginkgo-tests
test-gopkgs: ginkgo-tests test-ulimits

SKIPPED_PKGS="ulimit-adjuster"

ginkgo-tests:
$(Q)$(GINKGO) run \
Expand All @@ -129,9 +131,13 @@ ginkgo-tests:
--junit-report junit.xml \
--coverprofile coverprofile \
--succinct \
--skip-package $(SKIPPED_PKGS) \
-r .; \
$(GO_CMD) tool cover -html=$(COVERAGE_PATH)/coverprofile -o $(COVERAGE_PATH)/coverage.html

test-ulimits:
$(Q)$(GO_TEST) -v ./plugins/ulimit-adjuster

codecov: SHELL := $(shell which bash)
codecov:
bash <(curl -s https://codecov.io/bash) -f $(COVERAGE_PATH)/coverprofile
Expand Down

0 comments on commit db3de10

Please sign in to comment.