Skip to content

Commit

Permalink
Merge pull request #838 from hairyhenderson/move-integration-tests
Browse files Browse the repository at this point in the history
Move integration tests to internal package
  • Loading branch information
Dave Henderson authored and GitHub committed May 9, 2020
2 parents 9aa804c + 4823bdc commit 7c0cd7f
Show file tree
Hide file tree
Showing 37 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.integration
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY --from=consul /bin/consul /bin/consul
RUN apk add --no-cache make tzdata

WORKDIR /go/src/github.com/hairyhenderson/gomplate/
COPY tests/integration ./tests/integration
COPY internal/tests/integration ./internal/tests/integration
COPY Makefile ./Makefile
COPY bin/gomplate_linux-amd64 ./bin/gomplate

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ endif

integration: build
$(GO) test -v -tags=integration \
./tests/integration
./internal/tests/integration

integration.iid: Dockerfile.integration $(PREFIX)/bin/$(PKG_NAME)_linux-amd64$(call extension,$(GOOS))
docker build -f $< --iidfile $@ .
Expand Down Expand Up @@ -212,7 +212,7 @@ lint:
--enable unparam \
--enable unused \
--enable varcheck \
./tests/integration
./internal/tests/integration

.PHONY: gen-changelog clean test build-x compress-all build-release build test-integration-docker gen-docs lint clean-images clean-containers docker-images
.DELETE_ON_ERROR:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7c0cd7f

Please sign in to comment.