Skip to content

Commit

Permalink
Allow tests to only run locally (#4664)
Browse files Browse the repository at this point in the history
* Allow tests to only run locally

Allow tests that are flaky or currently unsupported on the server to run locally

* Address feedback
  • Loading branch information
annasong20 authored Jun 8, 2022
1 parent 4b19643 commit 3fdf88d
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 96 deletions.
3 changes: 3 additions & 0 deletions Makefile-tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ MYGOBIN = $(shell go env GOPATH)/bin
endif
export PATH := $(MYGOBIN):$(PATH)

# determines whether to run tests that only behave locally; can be overridden by override variable
export IS_LOCAL = false

.PHONY: install-out-of-tree-tools
install-out-of-tree-tools: \
$(MYGOBIN)/goimports \
Expand Down
5 changes: 4 additions & 1 deletion api/internal/builtins/AnnotationsTransformer.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3fdf88d

Please sign in to comment.