Skip to content

Commit

Permalink
Fix CI unit tests
Browse files Browse the repository at this point in the history
This commit introduces a change which ensures that the GOFLAGS variable
is not set when running Makefile commands.
  • Loading branch information
awgreene committed Dec 6, 2019
1 parent 8d52709 commit 19d703d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# OLM - Build and Test #
##########################

# Undefine GOFLAGS environment variable.
ifdef GOFLAGS
$(warning Undefining GOFLAGS set in CI)
undefine GOFLAGS
endif

SHELL := /bin/bash
PKG := github.com/operator-framework/operator-lifecycle-manager
MOD_FLAGS := $(shell (go version | grep -q -E "1\.1[1-9]") && echo -mod=vendor)
Expand Down

0 comments on commit 19d703d

Please sign in to comment.