Commit 36d1ebce authored by Peter Parente's avatar Peter Parente

Add make test-reqs and separate requirements file

Make local test setup easier
parent 24028584
......@@ -5,6 +5,6 @@ sudo: required
services:
- docker
install:
- pip install docker pytest requests
- make test-env
script:
- make build-test-all
......@@ -54,6 +54,9 @@ dev/%: PORT?=8888
dev/%: ## run a foreground container for a stack
docker run -it --rm -p $(PORT):8888 $(DARGS) $(OWNER)/$(notdir $@) $(ARGS)
test-reqs: # install libraries required to run the integration tests
pip install -r requirements-test.txt
test/%:
@TEST_IMAGE="$(OWNER)/$(notdir $@)" pytest test
......
docker
pytest
requests
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment