Skip to content

Commit

Permalink
chore: remove makefile assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Nov 15, 2023
1 parent 28eddcc commit ceb4e5a
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,6 @@ ifneq ("$(wildcard .env)","")
include .env
endif

# Assert environment variables for testing
.PHONY: assert-test-environment
assert-test-environment:
@printf "$(OK_COLOR)==> Assert test environment$(NO_COLOR)\n"

ifndef GOWINDOWS_TEST_SSH_HOST
$(error GOWINDOWS_TEST_SSH_HOST is not set.)
endif
ifndef GOWINDOWS_TEST_SSH_PORT
$(error GOWINDOWS_TEST_SSH_PORT is not set.)
endif
ifndef GOWINDOWS_TEST_SSH_USERNAME
$(error GOWINDOWS_TEST_SSH_USERNAME is not set.)
endif
ifndef GOWINDOWS_TEST_SSH_PASSWORD
$(error GOWINDOWS_TEST_SSH_PASSWORD is not set.)
endif

# Format code
.PHONY: format
format:
Expand All @@ -52,6 +34,6 @@ test: dependencies

# Acceptance tests
.PHONY: testacc
testacc: assert-test-environment requirements dependencies
testacc: requirements dependencies
@printf "$(OK_COLOR)==> Run acceptance tests$(NO_COLOR)\n"
go test ./...

0 comments on commit ceb4e5a

Please sign in to comment.