Created
March 9, 2020 08:57
-
-
Save rabingaire/864a3195ca68563bdaaad7c922899407 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Run Test Suite inside docker | |
tests: | |
@docker-compose -f docker-compose.yml up --build --abort-on-container-exit | |
@docker-compose -f docker-compose.yml down --volumes | |
## Run Integration Test | |
## Note: This command is intended to be executed within docker env | |
integration-tests: | |
@sh -c "while ! curl -s http://rabbitmq:15672 > /dev/null; do echo waiting for 3s; sleep 3; done" | |
go test -v ./... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment